zmp-cli 3.11.0-rc.1 → 3.11.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
const generateCoreRoot = require('./core/generate-root.js');
|
|
3
3
|
|
|
4
4
|
module.exports = (options) => {
|
|
5
|
-
const { name, framework, theming } = options;
|
|
5
|
+
const { name, framework, theming, zaui } = options;
|
|
6
6
|
const srcFolder = '/src/';
|
|
7
7
|
const iconsAssetsFolder = 'static';
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ module.exports = (options) => {
|
|
|
10
10
|
const scripts = `
|
|
11
11
|
<!-- built script files will be auto injected -->
|
|
12
12
|
${
|
|
13
|
-
framework === 'react' || framework === 'vue'
|
|
13
|
+
zaui || framework === 'react' || framework === 'vue'
|
|
14
14
|
? `<script type="module" src="${srcFolder}app.js"></script>`
|
|
15
15
|
: ''
|
|
16
16
|
}
|