Inventsable / bombino

Supercharged Adobe CEP panel generator for Vue with dynamic template support for Vue-CLI and Quasar-CLI
MIT License
98 stars 16 forks source link

Creating template from Vue-CLI model injects Quasar variables in ./public/index.html #3

Open Inventsable opened 4 years ago

Inventsable commented 4 years ago

Upon creating a new template, bombino is injecting Quasar variables into the index.html file like so:

<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="$BOMBINO_QUASAR_DESC$" />
    <meta name="viewport" content="width=device-width$BOMBINO_QUASAR_WIDTH$"/>
    <title>$BOMBINO_QUASAR_HEADER$</title>
    <script src="./CSInterface.js"></script>

This instead should be:

<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <title>$BOMBINO_NAME$</title>
    <script src="./CSInterface.js"></script>

Will be looking into why this is happening. If not fixed in the template, upon creating a new panel from this template and using npm run serve it throws an error about HTMLWebpackPlugin.ctx not existing.