create-quasar 2.1.1 → 2.2.1

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.
Files changed (165) hide show
  1. package/package.json +2 -4
  2. package/scripts/create-test-project.ts +1 -3
  3. package/templates/app/__eslint.config.js +0 -1
  4. package/templates/app/quasar-v2/create-quasar-script.js +4 -35
  5. package/templates/app/quasar-v2/js-vite-2/BASE/README.md +4 -4
  6. package/templates/app/quasar-v2/js-vite-2/BASE/_.vscode/extensions.json +2 -2
  7. package/templates/app/quasar-v2/js-vite-2/BASE/_.vscode/settings.json +2 -2
  8. package/templates/app/quasar-v2/js-vite-2/BASE/_package.json +11 -12
  9. package/templates/app/quasar-v2/js-vite-2/BASE/index.html +3 -3
  10. package/templates/app/quasar-v2/js-vite-2/BASE/quasar.config.js +9 -10
  11. package/templates/app/quasar-v2/js-vite-2/BASE/src/App.vue +0 -11
  12. package/templates/app/quasar-v2/js-vite-2/BASE/src/components/EssentialLink.vue +7 -35
  13. package/templates/app/quasar-v2/js-vite-2/BASE/src/layouts/MainLayout.vue +2 -141
  14. package/templates/app/quasar-v2/js-vite-2/BASE/src/pages/ErrorNotFound.vue +0 -11
  15. package/templates/app/quasar-v2/js-vite-2/BASE/src/pages/IndexPage.vue +0 -11
  16. package/templates/app/quasar-v2/js-vite-2/create-quasar-script.js +12 -4
  17. package/templates/app/quasar-v2/js-vite-2/eslint/_eslint.config.js +3 -3
  18. package/templates/app/quasar-v2/js-vite-2/sass/src/css/app.scss +1 -0
  19. package/templates/app/quasar-v2/{ts-vite-2/scss → js-vite-2/sass}/src/css/quasar.variables.scss +1 -1
  20. package/templates/app/quasar-v2/js-webpack-4/BASE/README.md +4 -4
  21. package/templates/app/quasar-v2/js-webpack-4/BASE/_.vscode/extensions.json +2 -2
  22. package/templates/app/quasar-v2/js-webpack-4/BASE/_.vscode/settings.json +2 -2
  23. package/templates/app/quasar-v2/js-webpack-4/BASE/_package.json +10 -11
  24. package/templates/app/quasar-v2/js-webpack-4/BASE/index.html +3 -3
  25. package/templates/app/quasar-v2/js-webpack-4/BASE/quasar.config.js +5 -6
  26. package/templates/app/quasar-v2/js-webpack-4/BASE/src/App.vue +0 -11
  27. package/templates/app/quasar-v2/js-webpack-4/BASE/src/components/EssentialLink.vue +7 -35
  28. package/templates/app/quasar-v2/js-webpack-4/BASE/src/layouts/MainLayout.vue +2 -141
  29. package/templates/app/quasar-v2/js-webpack-4/BASE/src/pages/ErrorNotFound.vue +0 -11
  30. package/templates/app/quasar-v2/js-webpack-4/BASE/src/pages/IndexPage.vue +0 -11
  31. package/templates/app/quasar-v2/js-webpack-4/create-quasar-script.js +12 -4
  32. package/templates/app/quasar-v2/js-webpack-4/eslint/_eslint.config.js +3 -3
  33. package/templates/app/quasar-v2/js-webpack-4/sass/src/css/app.scss +1 -0
  34. package/templates/app/quasar-v2/{js-vite-2/scss → js-webpack-4/sass}/src/css/quasar.variables.scss +1 -1
  35. package/templates/app/quasar-v2/ts-vite-2/BASE/README.md +4 -4
  36. package/templates/app/quasar-v2/ts-vite-2/BASE/_.vscode/extensions.json +2 -2
  37. package/templates/app/quasar-v2/ts-vite-2/BASE/_.vscode/settings.json +2 -2
  38. package/templates/app/quasar-v2/ts-vite-2/BASE/_package.json +11 -12
  39. package/templates/app/quasar-v2/ts-vite-2/BASE/index.html +3 -3
  40. package/templates/app/quasar-v2/ts-vite-2/BASE/quasar.config.ts +9 -10
  41. package/templates/app/quasar-v2/ts-vite-2/BASE/src/App.vue +0 -11
  42. package/templates/app/quasar-v2/ts-vite-2/BASE/src/components/EssentialLink.vue +2 -37
  43. package/templates/app/quasar-v2/ts-vite-2/BASE/src/components/ExampleComponent.vue +2 -98
  44. package/templates/app/quasar-v2/ts-vite-2/BASE/src/layouts/MainLayout.vue +2 -141
  45. package/templates/app/quasar-v2/ts-vite-2/BASE/src/pages/ErrorNotFound.vue +0 -11
  46. package/templates/app/quasar-v2/ts-vite-2/BASE/src/pages/IndexPage.vue +2 -90
  47. package/templates/app/quasar-v2/ts-vite-2/__.eslintrc.cjs +0 -1
  48. package/templates/app/quasar-v2/ts-vite-2/create-quasar-script.js +12 -4
  49. package/templates/app/quasar-v2/ts-vite-2/eslint/_eslint.config.js +3 -3
  50. package/templates/app/quasar-v2/ts-vite-2/i18n/src/boot/i18n.ts +2 -2
  51. package/templates/app/quasar-v2/ts-vite-2/sass/src/css/app.scss +1 -0
  52. package/templates/app/quasar-v2/{ts-webpack-4/scss → ts-vite-2/sass}/src/css/quasar.variables.scss +1 -1
  53. package/templates/app/quasar-v2/ts-webpack-4/BASE/README.md +4 -4
  54. package/templates/app/quasar-v2/ts-webpack-4/BASE/_.vscode/extensions.json +2 -2
  55. package/templates/app/quasar-v2/ts-webpack-4/BASE/_.vscode/settings.json +2 -2
  56. package/templates/app/quasar-v2/ts-webpack-4/BASE/_package.json +10 -11
  57. package/templates/app/quasar-v2/ts-webpack-4/BASE/index.html +3 -3
  58. package/templates/app/quasar-v2/ts-webpack-4/BASE/quasar.config.ts +5 -6
  59. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/App.vue +0 -11
  60. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/components/EssentialLink.vue +2 -37
  61. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/components/ExampleComponent.vue +2 -98
  62. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/layouts/MainLayout.vue +2 -141
  63. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/pages/ErrorNotFound.vue +0 -11
  64. package/templates/app/quasar-v2/ts-webpack-4/BASE/src/pages/IndexPage.vue +2 -90
  65. package/templates/app/quasar-v2/ts-webpack-4/__.eslintrc.cjs +0 -1
  66. package/templates/app/quasar-v2/ts-webpack-4/create-quasar-script.js +12 -4
  67. package/templates/app/quasar-v2/ts-webpack-4/eslint/_eslint.config.js +3 -3
  68. package/templates/app/quasar-v2/ts-webpack-4/i18n/src/boot/i18n.ts +2 -2
  69. package/templates/app/quasar-v2/ts-webpack-4/sass/src/css/app.scss +1 -0
  70. package/templates/app/quasar-v2/{js-webpack-4/scss → ts-webpack-4/sass}/src/css/quasar.variables.scss +1 -1
  71. package/templates/app-extension/__eslint.config.js +1 -3
  72. package/templates/app-extension/ae-js/BASE/README.md +5 -5
  73. package/templates/app-extension/ae-js/BASE/_package.json +6 -6
  74. package/templates/app-extension/ae-js/BASE/src/index.js +1 -1
  75. package/templates/app-extension/ae-js/create-quasar-script.js +0 -15
  76. package/templates/app-extension/ae-js/install-script/src/install.js +1 -1
  77. package/templates/app-extension/ae-js/prompts-script/src/prompts.js +1 -1
  78. package/templates/app-extension/ae-js/uninstall-script/src/uninstall.js +1 -1
  79. package/templates/app-extension/ae-ts/BASE/README.md +6 -6
  80. package/templates/app-extension/ae-ts/BASE/_package.json +9 -9
  81. package/templates/app-extension/ae-ts/BASE/app-extension/README.md +7 -7
  82. package/templates/app-extension/ae-ts/BASE/app-extension/_package.json +9 -9
  83. package/templates/app-extension/ae-ts/BASE/app-extension/src/index.ts +2 -2
  84. package/templates/app-extension/ae-ts/BASE/app-extension/src/runtime/README.md +3 -3
  85. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/README.md +11 -11
  86. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/_package.json +4 -4
  87. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/index.html +3 -3
  88. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/quasar.extensions.json +1 -1
  89. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/src/quasar.d.ts +1 -1
  90. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/README.md +10 -10
  91. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/_package.json +4 -4
  92. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/index.html +3 -3
  93. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/quasar.extensions.json +1 -1
  94. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/src/quasar.d.ts +1 -1
  95. package/templates/app-extension/create-quasar-script.js +1 -0
  96. package/templates/ui-kit/quasar-v2/BASE/LICENSE +1 -1
  97. package/templates/ui-kit/quasar-v2/BASE/README.md +4 -4
  98. package/templates/ui-kit/quasar-v2/BASE/ui/README.md +29 -29
  99. package/templates/ui-kit/quasar-v2/BASE/ui/_package.json +4 -4
  100. package/templates/ui-kit/quasar-v2/BASE/ui/build/index.js +1 -1
  101. package/templates/ui-kit/quasar-v2/BASE/ui/build/script.javascript.js +2 -2
  102. package/templates/ui-kit/quasar-v2/BASE/ui/dev/src/index.template.html +10 -5
  103. package/templates/ui-kit/quasar-v2/BASE/ui/dev/src/layouts/MyLayout.vue +1 -1
  104. package/templates/ui-kit/quasar-v2/BASE/ui/dev/src/pages/Test1.vue +4 -4
  105. package/templates/ui-kit/quasar-v2/BASE/ui/src/index.sass +2 -2
  106. package/templates/ui-kit/quasar-v2/BASE/ui/src/vue-plugin.js +6 -6
  107. package/templates/ui-kit/quasar-v2/BASE/ui/umd-test.html +2 -2
  108. package/templates/ui-kit/quasar-v2/ae/app-extension/README.md +6 -6
  109. package/templates/ui-kit/quasar-v2/ae/app-extension/_package.json +5 -5
  110. package/templates/ui-kit/quasar-v2/ae/app-extension/src/boot/register.js +1 -1
  111. package/templates/ui-kit/quasar-v2/ae/app-extension/src/index.js +7 -7
  112. package/templates/ui-kit/quasar-v2/ui-component/ui/src/components/Component.js +3 -3
  113. package/templates/ui-kit/quasar-v2/ui-component/ui/src/components/Component.sass +1 -1
  114. package/templates/ui-kit/quasar-v2/ui-directive/ui/src/directives/Directive.js +1 -1
  115. package/templates/ui-kit/quasar-v2/ui-directive/ui/src/directives/Directive.sass +1 -1
  116. package/utils/index.js +2 -6
  117. package/utils/template.js +280 -0
  118. package/templates/app/quasar-v2/js-vite-2/axios/src/boot/axios.js +0 -24
  119. package/templates/app/quasar-v2/js-vite-2/sass/src/css/app.sass +0 -1
  120. package/templates/app/quasar-v2/js-vite-2/sass/src/css/quasar.variables.sass +0 -25
  121. package/templates/app/quasar-v2/js-vite-2/scss/src/css/app.scss +0 -1
  122. package/templates/app/quasar-v2/js-webpack-4/axios/src/boot/axios.js +0 -24
  123. package/templates/app/quasar-v2/js-webpack-4/sass/src/css/app.sass +0 -1
  124. package/templates/app/quasar-v2/js-webpack-4/sass/src/css/quasar.variables.sass +0 -25
  125. package/templates/app/quasar-v2/js-webpack-4/scss/src/css/app.scss +0 -1
  126. package/templates/app/quasar-v2/ts-vite-2/axios/src/boot/axios.ts +0 -31
  127. package/templates/app/quasar-v2/ts-vite-2/sass/src/css/app.sass +0 -1
  128. package/templates/app/quasar-v2/ts-vite-2/sass/src/css/quasar.variables.sass +0 -25
  129. package/templates/app/quasar-v2/ts-vite-2/scss/src/css/app.scss +0 -1
  130. package/templates/app/quasar-v2/ts-webpack-4/axios/src/boot/axios.ts +0 -31
  131. package/templates/app/quasar-v2/ts-webpack-4/sass/src/css/app.sass +0 -1
  132. package/templates/app/quasar-v2/ts-webpack-4/sass/src/css/quasar.variables.sass +0 -25
  133. package/templates/app/quasar-v2/ts-webpack-4/scss/src/css/app.scss +0 -1
  134. package/test-project/.editorconfig +0 -7
  135. package/test-project/.prettierrc.json +0 -5
  136. package/test-project/.vscode/extensions.json +0 -15
  137. package/test-project/.vscode/settings.json +0 -9
  138. package/test-project/README.md +0 -43
  139. package/test-project/eslint.config.js +0 -83
  140. package/test-project/index.html +0 -24
  141. package/test-project/package.json +0 -45
  142. package/test-project/pnpm-lock.yaml +0 -5293
  143. package/test-project/pnpm-workspace.yaml +0 -6
  144. package/test-project/postcss.config.js +0 -29
  145. package/test-project/public/favicon.ico +0 -0
  146. package/test-project/public/icons/favicon-128x128.png +0 -0
  147. package/test-project/public/icons/favicon-16x16.png +0 -0
  148. package/test-project/public/icons/favicon-32x32.png +0 -0
  149. package/test-project/public/icons/favicon-96x96.png +0 -0
  150. package/test-project/quasar.config.ts +0 -217
  151. package/test-project/src/App.vue +0 -7
  152. package/test-project/src/assets/quasar-logo-vertical.svg +0 -15
  153. package/test-project/src/boot/.gitkeep +0 -0
  154. package/test-project/src/components/EssentialLink.vue +0 -27
  155. package/test-project/src/components/ExampleComponent.vue +0 -37
  156. package/test-project/src/components/models.ts +0 -8
  157. package/test-project/src/css/app.scss +0 -1
  158. package/test-project/src/css/quasar.variables.scss +0 -25
  159. package/test-project/src/env.d.ts +0 -7
  160. package/test-project/src/layouts/MainLayout.vue +0 -81
  161. package/test-project/src/pages/ErrorNotFound.vue +0 -23
  162. package/test-project/src/pages/IndexPage.vue +0 -43
  163. package/test-project/src/router/index.ts +0 -37
  164. package/test-project/src/router/routes.ts +0 -18
  165. package/test-project/tsconfig.json +0 -3
@@ -1,19 +1,19 @@
1
1
  {
2
- "name": "quasar-app-extension-<%= name %>-monorepo",
2
+ "name": "quasar-app-extension-<%= scope.name %>-monorepo",
3
3
  "private": true,
4
- <% if (packageManagerField) { %>"packageManager": "<%= packageManagerField %>",<% } %>
5
- "author": "<%= author %>",
4
+ <% if (scope.packageManagerField) { %>"packageManager": "<%= scope.packageManagerField %>",<% } %>
5
+ "author": "<%= scope.author %>",
6
6
  "type": "module",
7
- <% if (packageManager?.name !== 'pnpm') { %>"workspaces": [
7
+ <% if (scope.packageManager?.name !== 'pnpm') { %>"workspaces": [
8
8
  "app-extension",
9
9
  "playground/*"
10
10
  ],<% } %>
11
11
  "scripts": {
12
- <% if (packageManager) { %>
13
- "build": <% if (['pnpm', 'bun'].includes(packageManager.name)) { %>"<%= packageManager.name %> --filter ./app-extension build"<% } else if (packageManager.name === 'yarn') { %>"yarn workspace <%= pkgName %> build"<% } else { %>"npm run --workspace <%= pkgName %> build"<% } %>,
14
- "dev:vite": <% if (['pnpm', 'bun'].includes(packageManager.name)) { %>"<%= packageManager.name %> --filter ./playground/quasar-cli-vite dev"<% } else if (packageManager.name === 'yarn') { %>"yarn workspace playground-quasar-cli-vite dev"<% } else { %>"npm run --workspace playground-quasar-cli-vite dev"<% } %>,
15
- "dev:webpack": <% if (['pnpm', 'bun'].includes(packageManager.name)) { %>"<%= packageManager.name %> --filter ./playground/quasar-cli-webpack dev"<% } else if (packageManager.name === 'yarn') { %>"yarn workspace playground-quasar-cli-webpack dev"<% } else { %>"npm run --workspace playground-quasar-cli-webpack dev"<% } %>,
16
- "format": <% if (packageManager.name === 'pnpm') { %>"pnpm format:root && pnpm --recursive format"<% } else if (packageManager.name === 'bun') { %>"bun format:root && bun --filter '*' format"<% } else if (packageManager.name === 'yarn') { %>"yarn format:root && yarn workspace <%= pkgName %> format"<% } else { %>"npm run format:root && npm run --workspaces format"<% } %>,
12
+ <% if (scope.packageManager) { %>
13
+ "build": <% if (['pnpm', 'bun'].includes(scope.packageManager.name)) { %>"<%= scope.packageManager.name %> --filter ./app-extension build"<% } else if (scope.packageManager.name === 'yarn') { %>"yarn workspace <%= scope.pkgName %> build"<% } else { %>"npm run --workspace <%= scope.pkgName %> build"<% } %>,
14
+ "dev:vite": <% if (['pnpm', 'bun'].includes(scope.packageManager.name)) { %>"<%= scope.packageManager.name %> --filter ./playground/quasar-cli-vite dev"<% } else if (scope.packageManager.name === 'yarn') { %>"yarn workspace playground-quasar-cli-vite dev"<% } else { %>"npm run --workspace playground-quasar-cli-vite dev"<% } %>,
15
+ "dev:webpack": <% if (['pnpm', 'bun'].includes(scope.packageManager.name)) { %>"<%= scope.packageManager.name %> --filter ./playground/quasar-cli-webpack dev"<% } else if (scope.packageManager.name === 'yarn') { %>"yarn workspace playground-quasar-cli-webpack dev"<% } else { %>"npm run --workspace playground-quasar-cli-webpack dev"<% } %>,
16
+ "format": <% if (scope.packageManager.name === 'pnpm') { %>"pnpm format:root && pnpm --recursive format"<% } else if (scope.packageManager.name === 'bun') { %>"bun format:root && bun --filter '*' format"<% } else if (scope.packageManager.name === 'yarn') { %>"yarn format:root && yarn workspace <%= scope.pkgName %> format"<% } else { %>"npm run format:root && npm run --workspaces format"<% } %>,
17
17
  <% } else { %>
18
18
  "build": "pnpm --filter ./app-extension build",
19
19
  "dev:vite": "pnpm --filter ./playground/quasar-cli-vite dev",
@@ -1,14 +1,14 @@
1
- # Quasar App Extension <%= name %> (<%= pkgName %>)
1
+ # Quasar App Extension <%= scope.name %> (<%= scope.pkgName %>)
2
2
 
3
3
  > TODO: Add a short description of your App Extension. What does it do? How is it beneficial? Why would someone want to use it?
4
4
 
5
- [![npm](https://img.shields.io/npm/v/<%= pkgName %>.svg?label=<%= pkgName %>)](https://www.npmjs.com/package/<%= pkgName %>)
6
- [![npm](https://img.shields.io/npm/dt/<%= pkgName %>.svg)](https://www.npmjs.com/package/<%= pkgName %>)
5
+ [![npm](https://img.shields.io/npm/v/<%= scope.pkgName %>.svg?label=<%= scope.pkgName %>)](https://www.npmjs.com/package/<%= scope.pkgName %>)
6
+ [![npm](https://img.shields.io/npm/dt/<%= scope.pkgName %>.svg)](https://www.npmjs.com/package/<%= scope.pkgName %>)
7
7
 
8
8
  # Install
9
9
 
10
10
  ```bash
11
- quasar ext add <%= name %>
11
+ quasar ext add <%= scope.name %>
12
12
  ```
13
13
 
14
14
  Quasar CLI will retrieve it from NPM and install the extension.
@@ -18,7 +18,7 @@ Quasar CLI will retrieve it from NPM and install the extension.
18
18
  Add this to `src/quasar.d.ts` to load the global component typings:
19
19
  ```ts
20
20
  // Load global component typings
21
- /// <reference types="<%= pkgName %>" />
21
+ /// <reference types="<%= scope.pkgName %>" />
22
22
  ```
23
23
 
24
24
  ## Prompts
@@ -28,7 +28,7 @@ Add this to `src/quasar.d.ts` to load the global component typings:
28
28
  # Uninstall
29
29
 
30
30
  ```bash
31
- quasar ext remove <%= name %>
31
+ quasar ext remove <%= scope.name %>
32
32
  ```
33
33
 
34
34
  # Info
@@ -49,4 +49,4 @@ If you appreciate the work that went into this App Extension, please consider [d
49
49
 
50
50
  # License
51
51
 
52
- <%= license %> (c) <%= author %>
52
+ <%= scope.license %> (c) <%= scope.author %>
@@ -1,9 +1,9 @@
1
1
  {
2
- "name": "<%= pkgName %>",
2
+ "name": "<%= scope.pkgName %>",
3
3
  "version": "0.0.1",
4
- "description": "<%= description %>",
5
- "author": "<%= author %>",
6
- "license": "<%= license %>",
4
+ "description": "<%= scope.description %>",
5
+ "author": "<%= scope.author %>",
6
+ "license": "<%= scope.license %>",
7
7
  "type": "module",
8
8
  "main": "./dist/runtime/index.js",
9
9
  "module": "./dist/runtime/index.js",
@@ -14,17 +14,17 @@
14
14
  "import": "./dist/runtime/index.js"
15
15
  },
16
16
  "./package.json": "./package.json",
17
- <% if (preset.prompts) { %>"./dist/prompts": "./dist/prompts.js",<% } %>
18
- <% if (preset.install) { %>"./dist/install": "./dist/install.js",<% } %>
19
- <% if (preset.uninstall) { %>"./dist/uninstall": "./dist/uninstall.js",<% } %>
17
+ <% if (scope.preset.prompts) { %>"./dist/prompts": "./dist/prompts.js",<% } %>
18
+ <% if (scope.preset.install) { %>"./dist/install": "./dist/install.js",<% } %>
19
+ <% if (scope.preset.uninstall) { %>"./dist/uninstall": "./dist/uninstall.js",<% } %>
20
20
  "./dist/index": "./dist/index.js",
21
21
  "./*": "./dist/runtime/*"
22
22
  },
23
23
  "scripts": {
24
24
  "format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
25
- <% if (preset.install) { %>"build:code": "mkdist ./ --ext=js --declaration --pattern='**' --pattern='!shims-vue.d.ts' --pattern='!templates/**'",
25
+ <% if (scope.preset.install) { %>"build:code": "mkdist ./ --ext=js --declaration --pattern='**' --pattern='!shims-vue.d.ts' --pattern='!templates/**'",
26
26
  "build:templates": "mkdist ./ --src ./src/templates --dist ./dist/templates --loaders='raw'",
27
- "build": "<%= packageManager?.name ?? 'pnpm' %> run build:code && <%= packageManager?.name ?? 'pnpm' %> run build:templates"<% } else { %>"build": "mkdist ./ --ext=js --declaration --pattern='**' --pattern='!shims-vue.d.ts'"<% } %>
27
+ "build": "<%= scope.packageManager?.name ?? 'pnpm' %> run build:code && <%= scope.packageManager?.name ?? 'pnpm' %> run build:templates"<% } else { %>"build": "mkdist ./ --ext=js --declaration --pattern='**' --pattern='!shims-vue.d.ts'"<% } %>
28
28
  },
29
29
  "devDependencies": {
30
30
  "@quasar/app-vite": "^2.1.0",
@@ -23,13 +23,13 @@ export default function (api: IndexAPI) {
23
23
  }
24
24
 
25
25
  api.extendQuasarConf((conf, api) => {
26
- conf.boot!.push('~<%= pkgName %>/boot/register');
26
+ conf.boot!.push('~<%= scope.pkgName %>/boot/register');
27
27
 
28
28
  // make sure app extension files get transpiled
29
29
  if (api.hasWebpack) {
30
30
  const config = conf as unknown as WebpackQuasarConfProxy;
31
31
  config.build.webpackTranspileDependencies.push(
32
- /<%= pkgName.replace('/', '[\\\\/]') %>[\\/]dist/,
32
+ /<%= scope.pkgName.replace('/', '[\\\\/]') %>[\\/]dist/,
33
33
  );
34
34
  }
35
35
  });
@@ -12,10 +12,10 @@ This directory contains runtime files for your app extension. The code here will
12
12
  Use `index.ts` to export your runtime code as part of the library. The exported code can then be imported like so:
13
13
 
14
14
  ```js
15
- import { someFunction } from '<%= pkgName %>'
15
+ import { someFunction } from '<%= scope.pkgName %>'
16
16
  ```
17
17
 
18
- If you need more entrypoints(e.g. `<%= pkgName %>/another`) for a good reason, you can create the respective files and add an entry to `package.json > exports`.
18
+ If you need more entrypoints(e.g. `<%= scope.pkgName %>/another`) for a good reason, you can create the respective files and add an entry to `package.json > exports`.
19
19
 
20
20
  ### Boot files
21
21
 
@@ -39,7 +39,7 @@ Afterwards, you can use the Index API ([`src/index.ts`](../index.ts)) to registe
39
39
  export default function (api: IndexAPI) {
40
40
  // ...
41
41
  api.extendQuasarConf((conf, api) => {
42
- conf.boot!.push('~<%= pkgName %>/boot/some-boot-file');
42
+ conf.boot!.push('~<%= scope.pkgName %>/boot/some-boot-file');
43
43
  // ...
44
44
  });
45
45
  }
@@ -1,11 +1,11 @@
1
- # Quasar AE <%= name %> Playground (quasar-cli-vite)
1
+ # Quasar AE <%= scope.name %> Playground (quasar-cli-vite)
2
2
 
3
3
  Playground for Quasar AE <%= name %>
4
4
 
5
5
  ## Install the dependencies
6
6
 
7
- <% if (packageManager) { %>```bash
8
- <%= packageManager.name %> install
7
+ <% if (scope.packageManager) { %>```bash
8
+ <%= scope.packageManager.name %> install
9
9
  ```<% } else { %>```bash
10
10
  # One of the following, depending on your package manager
11
11
  npm install
@@ -16,8 +16,8 @@ bun install
16
16
 
17
17
  ### Start the app in development mode (hot-code reloading, error reporting, etc.)
18
18
 
19
- <% if (packageManager) { %>```bash
20
- <%= packageManager.name %> run dev
19
+ <% if (scope.packageManager) { %>```bash
20
+ <%= scope.packageManager.name %> run dev
21
21
  ```<% } else { %>```bash
22
22
  # One of the following, depending on your package manager
23
23
  npm run dev
@@ -28,8 +28,8 @@ bun dev
28
28
 
29
29
  ### Lint the files
30
30
 
31
- <% if (packageManager) { %>```bash
32
- <%= packageManager.name %> run lint
31
+ <% if (scope.packageManager) { %>```bash
32
+ <%= scope.packageManager.name %> run lint
33
33
  ```<% } else { %>```bash
34
34
  # One of the following, depending on your package manager
35
35
  npm run lint
@@ -40,8 +40,8 @@ bun lint
40
40
 
41
41
  ### Format the files
42
42
 
43
- <% if (packageManager) { %>```bash
44
- <%= packageManager.name %> run format
43
+ <% if (scope.packageManager) { %>```bash
44
+ <%= scope.packageManager.name %> run format
45
45
  ```<% } else { %>```bash
46
46
  # One of the following, depending on your package manager
47
47
  npm run format
@@ -52,8 +52,8 @@ bun format
52
52
 
53
53
  ### Build the app for production
54
54
 
55
- <% if (packageManager) { %>```bash
56
- <%= packageManager.name %> run build
55
+ <% if (scope.packageManager) { %>```bash
56
+ <%= scope.packageManager.name %> run build
57
57
  ```<% } else { %>```bash
58
58
  # One of the following, depending on your package manager
59
59
  npm run build
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "playground-quasar-cli-vite",
3
3
  "version": "0.0.1",
4
- "description": "Playground for Quasar AE <%= name %>",
5
- "productName": "Quasar AE <%= name %> Playground",
6
- "author": "<%= author %>",
4
+ "description": "Playground for Quasar AE <%= scope.name %>",
5
+ "productName": "Quasar AE <%= scope.name %> Playground",
6
+ "author": "<%= scope.author %>",
7
7
  "type": "module",
8
8
  "private": true,
9
9
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  "quasar": "^2.16.7",
18
18
  "vue": "^3.4.36",
19
19
  "vue-router": "^5.0.3",
20
- "<%= pkgName %>": <% if (!packageManager || ['pnpm', 'bun'].includes(packageManager.name)) { %>"workspace:*"<% } else { %>"*"<% } %>
20
+ "<%= scope.pkgName %>": <% if (!scope.packageManager || ['pnpm', 'bun'].includes(scope.packageManager.name)) { %>"workspace:*"<% } else { %>"*"<% } %>
21
21
  },
22
22
  "devDependencies": {
23
23
  "@quasar/app-vite": "^2.1.0",
@@ -1,15 +1,15 @@
1
1
  <!doctype html>
2
2
  <html>
3
3
  <head>
4
- <title><%= '\<%= productName %\>' %></title>
4
+ <title><%= '<' + '%= productName %' + '>' %></title>
5
5
 
6
6
  <meta charset="utf-8" />
7
- <meta name="description" content="<%= '\<%= productDescription %\>' %>" />
7
+ <meta name="description" content="<%= '<' + '%= productDescription %' + '>' %>" />
8
8
  <meta name="format-detection" content="telephone=no" />
9
9
  <meta name="msapplication-tap-highlight" content="no" />
10
10
  <meta
11
11
  name="viewport"
12
- content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<%= '\<% if (ctx.mode.cordova || ctx.mode.capacitor) { %\>, viewport-fit=cover\<% } %\>' %>"
12
+ content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<%= '<' + '% if (ctx.mode.cordova || ctx.mode.capacitor) { %' + '>, viewport-fit=cover<' + '% } %' + '>' %>"
13
13
  />
14
14
 
15
15
  <link
@@ -1,3 +1,3 @@
1
1
  {
2
- "<%= pkgName.replace('quasar-app-extension-', '') %>": {}
2
+ "<%= scope.pkgName.replace('quasar-app-extension-', '') %>": {}
3
3
  }
@@ -7,4 +7,4 @@
7
7
  /// <reference types="@quasar/app-vite" />
8
8
 
9
9
  // Load global component typings
10
- /// <reference types="<%= pkgName %>" />
10
+ /// <reference types="<%= scope.pkgName %>" />
@@ -4,8 +4,8 @@ Playground for Quasar AE <%= name %>
4
4
 
5
5
  ## Install the dependencies
6
6
 
7
- <% if (packageManager) { %>```bash
8
- <%= packageManager.name %> install
7
+ <% if (scope.packageManager) { %>```bash
8
+ <%= scope.packageManager.name %> install
9
9
  ```<% } else { %>```bash
10
10
  # One of the following, depending on your package manager
11
11
  npm install
@@ -16,8 +16,8 @@ bun install
16
16
 
17
17
  ### Start the app in development mode (hot-code reloading, error reporting, etc.)
18
18
 
19
- <% if (packageManager) { %>```bash
20
- <%= packageManager.name %> run dev
19
+ <% if (scope.packageManager) { %>```bash
20
+ <%= scope.packageManager.name %> run dev
21
21
  ```<% } else { %>```bash
22
22
  # One of the following, depending on your package manager
23
23
  npm run dev
@@ -28,8 +28,8 @@ bun dev
28
28
 
29
29
  ### Lint the files
30
30
 
31
- <% if (packageManager) { %>```bash
32
- <%= packageManager.name %> run lint
31
+ <% if (scope.packageManager) { %>```bash
32
+ <%= scope.packageManager.name %> run lint
33
33
  ```<% } else { %>```bash
34
34
  # One of the following, depending on your package manager
35
35
  npm run lint
@@ -40,8 +40,8 @@ bun lint
40
40
 
41
41
  ### Format the files
42
42
 
43
- <% if (packageManager) { %>```bash
44
- <%= packageManager.name %> run format
43
+ <% if (scope.packageManager) { %>```bash
44
+ <%= scope.packageManager.name %> run format
45
45
  ```<% } else { %>```bash
46
46
  # One of the following, depending on your package manager
47
47
  npm run format
@@ -52,8 +52,8 @@ bun format
52
52
 
53
53
  ### Build the app for production
54
54
 
55
- <% if (packageManager) { %>```bash
56
- <%= packageManager.name %> run build
55
+ <% if (scope.packageManager) { %>```bash
56
+ <%= scope.packageManager.name %> run build
57
57
  ```<% } else { %>```bash
58
58
  # One of the following, depending on your package manager
59
59
  npm run build
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "playground-quasar-cli-webpack",
3
3
  "version": "0.0.1",
4
- "description": "Playground for Quasar AE <%= name %>",
5
- "productName": "Quasar AE <%= name %> Playground",
6
- "author": "<%= author %>",
4
+ "description": "Playground for Quasar AE <%= scope.name %>",
5
+ "productName": "Quasar AE <%= scope.name %> Playground",
6
+ "author": "<%= scope.author %>",
7
7
  "private": true,
8
8
  "scripts": {
9
9
  "format": "prettier --write \"**/*.{js,ts,vue,scss,html,md,json}\" --ignore-path .gitignore",
@@ -17,7 +17,7 @@
17
17
  "quasar": "^2.16.7",
18
18
  "vue": "^3.4.36",
19
19
  "vue-router": "^5.0.3",
20
- "<%= pkgName %>": <% if (!packageManager || ['pnpm', 'bun'].includes(packageManager?.name)) { %>"workspace:*"<% } else { %>"*"<% } %>
20
+ "<%= scope.pkgName %>": <% if (!scope.packageManager || ['pnpm', 'bun'].includes(scope.packageManager?.name)) { %>"workspace:*"<% } else { %>"*"<% } %>
21
21
  },
22
22
  "devDependencies": {
23
23
  "@quasar/app-webpack": "^4.1.0",
@@ -1,15 +1,15 @@
1
1
  <!doctype html>
2
2
  <html>
3
3
  <head>
4
- <title><%= '\<%= productName %\>' %></title>
4
+ <title><%= '<' + '%= productName %' + '>' %></title>
5
5
 
6
6
  <meta charset="utf-8" />
7
- <meta name="description" content="<%= '\<%= productDescription %\>' %>" />
7
+ <meta name="description" content="<%= '<' + '%= productDescription %' + '>' %>" />
8
8
  <meta name="format-detection" content="telephone=no" />
9
9
  <meta name="msapplication-tap-highlight" content="no" />
10
10
  <meta
11
11
  name="viewport"
12
- content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<%= '\<% if (ctx.mode.cordova || ctx.mode.capacitor) { %\>, viewport-fit=cover\<% } %\>' %>"
12
+ content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<%= '<' + '% if (ctx.mode.cordova || ctx.mode.capacitor) { %' + '>, viewport-fit=cover<' + '% } %' + '>' %>"
13
13
  />
14
14
 
15
15
  <link
@@ -1,3 +1,3 @@
1
1
  {
2
- "<%= pkgName.replace('quasar-app-extension-', '') %>": {}
2
+ "<%= scope.pkgName.replace('quasar-app-extension-', '') %>": {}
3
3
  }
@@ -7,4 +7,4 @@
7
7
  /// <reference types="@quasar/app-webpack" />
8
8
 
9
9
  // Load global component typings
10
- /// <reference types="<%= pkgName %>" />
10
+ /// <reference types="<%= scope.pkgName %>" />
@@ -12,5 +12,6 @@ export async function createQuasarScript({ scope, utils }) {
12
12
 
13
13
  const { createQuasarScript: create } =
14
14
  await import('./ae-js/create-quasar-script.js')
15
+
15
16
  await create({ scope, utils })
16
17
  }
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) <%= author %>
3
+ Copyright (c) <%= scope.author %>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,11 +1,11 @@
1
- <img src="https://img.shields.io/npm/v/quasar-ui-<%= name %>.svg?label=quasar-ui-<%= name %>">
2
- <% if (features.ae) { %><img src="https://img.shields.io/npm/v/quasar-app-extension-<%= name %>.svg?label=quasar-app-extension-<%= name %>"><% } %>
1
+ <img src="https://img.shields.io/npm/v/quasar-ui-<%= scope.name %>.svg?label=quasar-ui-<%= scope.name %>">
2
+ <% if (scope.features.ae) { %><img src="https://img.shields.io/npm/v/quasar-app-extension-<%= scope.name %>.svg?label=quasar-app-extension-<%= scope.name %>"><% } %>
3
3
 
4
4
  Compatible with Quasar UI v2 and Vue 3.
5
5
 
6
6
  # Structure
7
7
  * [/ui](ui) - standalone npm package
8
- <% if (features.ae) { %>
8
+ <% if (scope.features.ae) { %>
9
9
  * [/app-extension](app-extension) - Quasar app extension
10
10
  <% } %>
11
11
 
@@ -13,4 +13,4 @@ Compatible with Quasar UI v2 and Vue 3.
13
13
  If you appreciate the work that went into this project, please consider [donating to Quasar](https://donate.quasar.dev).
14
14
 
15
15
  # License
16
- <%= license %> (c) <%= author %>
16
+ <%= scope.license %> (c) <%= scope.author %>
@@ -1,24 +1,24 @@
1
- # <% if (features.component) { %>Component <%= componentName %><% if (features.directive) { %> and <% } } %><% if (features.directive) { %>Directive v-<%= directiveName %><% } %>
1
+ # <% if (scope.features.component) { %>Component <%= scope.componentName %><% if (scope.features.directive) { %> and <% } } %><% if (scope.features.directive) { %>Directive v-<%= scope.directiveName %><% } %>
2
2
 
3
- [![npm](https://img.shields.io/npm/v/quasar-ui-<%= name %>.svg?label=quasar-ui-<%= name %>)](https://www.npmjs.com/package/quasar-ui-<%= name %>)
4
- [![npm](https://img.shields.io/npm/dt/quasar-ui-<%= name %>.svg)](https://www.npmjs.com/package/quasar-ui-<%= name %>)
3
+ [![npm](https://img.shields.io/npm/v/quasar-ui-<%= scope.name %>.svg?label=quasar-ui-<%= scope.name %>)](https://www.npmjs.com/package/quasar-ui-<%= scope.name %>)
4
+ [![npm](https://img.shields.io/npm/dt/quasar-ui-<%= scope.name %>.svg)](https://www.npmjs.com/package/quasar-ui-<%= scope.name %>)
5
5
 
6
6
  **Compatible with Quasar UI v2 and Vue 3**.
7
7
 
8
- <% if (features.component) { %>
9
- # Component <%= componentName %>
8
+ <% if (scope.features.component) { %>
9
+ # Component <%= scope.componentName %>
10
10
  > Short description of the component
11
11
  <% } %>
12
12
 
13
- <% if (features.directive) { %>
14
- # Directive v-<%= directiveName %>
13
+ <% if (scope.features.directive) { %>
14
+ # Directive v-<%= scope.directiveName %>
15
15
  > Short description of the directive
16
16
  <% } %>
17
17
 
18
18
  # Usage
19
19
 
20
20
  ## Quasar CLI project
21
- <% if (features.ae) { %>
21
+ <% if (scope.features.ae) { %>
22
22
 
23
23
  Install the [App Extension](../app-extension).
24
24
 
@@ -29,8 +29,8 @@ Create and register a boot file:
29
29
 
30
30
  ```js
31
31
  import Vue from 'vue'
32
- import Plugin from 'quasar-ui-<%= name %>'
33
- import 'quasar-ui-<%= name %>/dist/index.css'
32
+ import Plugin from 'quasar-ui-<%= scope.name %>'
33
+ import 'quasar-ui-<%= scope.name %>/dist/index.css'
34
34
 
35
35
  Vue.use(Plugin)
36
36
  ```
@@ -38,18 +38,18 @@ Vue.use(Plugin)
38
38
  **OR**:
39
39
 
40
40
  ```html
41
- <style src="quasar-ui-<%= name %>/dist/index.css"></style>
41
+ <style src="quasar-ui-<%= scope.name %>/dist/index.css"></style>
42
42
 
43
43
  <script>
44
- import { <% if (features.component) { %>Component as <%= componentName %><% if (features.directive) { %>, <% } %><% } %><% if (features.directive) { %>Directive<% } %> } from 'quasar-ui-<%= name %>'
44
+ import { <% if (scope.features.component) { %>Component as <%= scope.componentName %><% if (scope.features.directive) { %>, <% } %><% } %><% if (scope.features.directive) { %>Directive<% } %> } from 'quasar-ui-<%= scope.name %>'
45
45
 
46
46
  export default {
47
- <% if (features.component) { %>
47
+ <% if (scope.features.component) { %>
48
48
  components: {
49
- <%= componentName %>
50
- }<% if (features.directive) { %>,<% } %>
49
+ <%= scope.componentName %>
50
+ }<% if (scope.features.directive) { %>,<% } %>
51
51
  <% } %>
52
- <% if (features.directive) { %>
52
+ <% if (scope.features.directive) { %>
53
53
  directives: {
54
54
  Directive
55
55
  }
@@ -62,8 +62,8 @@ export default {
62
62
 
63
63
  ```js
64
64
  import Vue from 'vue'
65
- import Plugin from 'quasar-ui-<%= name %>'
66
- import 'quasar-ui-<%= name %>/dist/index.css'
65
+ import Plugin from 'quasar-ui-<%= scope.name %>'
66
+ import 'quasar-ui-<%= scope.name %>/dist/index.css'
67
67
 
68
68
  Vue.use(Plugin)
69
69
  ```
@@ -71,18 +71,18 @@ Vue.use(Plugin)
71
71
  **OR**:
72
72
 
73
73
  ```html
74
- <style src="quasar-ui-<%= name %>/dist/index.css"></style>
74
+ <style src="quasar-ui-<%= scope.name %>/dist/index.css"></style>
75
75
 
76
76
  <script>
77
- import { <% if (features.component) { %>Component as <%= componentName %><% if (features.directive) { %>, <% } %><% } %><% if (features.directive) { %>Directive<% } %> } from 'quasar-ui-<%= name %>'
77
+ import { <% if (scope.features.component) { %>Component as <%= scope.componentName %><% if (scope.features.directive) { %>, <% } %><% } %><% if (scope.features.directive) { %>Directive<% } %> } from 'quasar-ui-<%= scope.name %>'
78
78
 
79
79
  export default {
80
- <% if (features.component) { %>
80
+ <% if (scope.features.component) { %>
81
81
  components: {
82
- <%= componentName %>
83
- }<% if (features.directive) { %>,<% } %>
82
+ <%= scope.componentName %>
83
+ }<% if (scope.features.directive) { %>,<% } %>
84
84
  <% } %>
85
- <% if (features.directive) { %>
85
+ <% if (scope.features.directive) { %>
86
86
  directives: {
87
87
  Directive
88
88
  }
@@ -93,23 +93,23 @@ export default {
93
93
 
94
94
  ## UMD variant
95
95
 
96
- Exports `window.<%= umdExportName %>`.
96
+ Exports `window.<%= scope.umdExportName %>`.
97
97
 
98
98
  Add the following tag(s) after the Quasar ones:
99
99
 
100
100
  ```html
101
101
  <head>
102
102
  <!-- AFTER the Quasar stylesheet tags: -->
103
- <link href="https://cdn.jsdelivr.net/npm/quasar-ui-<%= name %>/dist/index.min.css" rel="stylesheet" type="text/css">
103
+ <link href="https://cdn.jsdelivr.net/npm/quasar-ui-<%= scope.name %>/dist/index.min.css" rel="stylesheet" type="text/css">
104
104
  </head>
105
105
  <body>
106
106
  <!-- at end of body, AFTER Quasar script(s): -->
107
- <script src="https://cdn.jsdelivr.net/npm/quasar-ui-<%= name %>/dist/index.umd.min.js"></script>
107
+ <script src="https://cdn.jsdelivr.net/npm/quasar-ui-<%= scope.name %>/dist/index.umd.min.js"></script>
108
108
  </body>
109
109
  ```
110
110
  If you need the RTL variant of the CSS, then go for the following (instead of the above stylesheet link):
111
111
  ```html
112
- <link href="https://cdn.jsdelivr.net/npm/quasar-ui-<%= name %>/dist/index.rtl.min.css" rel="stylesheet" type="text/css">
112
+ <link href="https://cdn.jsdelivr.net/npm/quasar-ui-<%= scope.name %>/dist/index.rtl.min.css" rel="stylesheet" type="text/css">
113
113
  ```
114
114
 
115
115
  # Setup
@@ -153,4 +153,4 @@ If you have a component that has assets, like language or icon-sets, you will ne
153
153
  If you appreciate the work that went into this, please consider [donating to Quasar](https://donate.quasar.dev).
154
154
 
155
155
  # License
156
- <%= license %> (c) <%= author %>
156
+ <%= scope.license %> (c) <%= scope.author %>
@@ -1,9 +1,9 @@
1
1
  {
2
- "name": "quasar-ui-<%= name %>",
2
+ "name": "quasar-ui-<%= scope.name %>",
3
3
  "version": "0.0.1",
4
- "author": "<%= author %>",
5
- "description": "<%= packageDescription %>",
6
- "license": "<%= license %>",
4
+ "author": "<%= scope.author %>",
5
+ "description": "<%= scope.packageDescription %>",
6
+ "license": "<%= scope.license %>",
7
7
  "module": "dist/index.esm.js",
8
8
  "main": "dist/index.common.js",
9
9
  "scripts": {
@@ -8,7 +8,7 @@ const { green, blue } = require('chalk')
8
8
 
9
9
  console.log()
10
10
 
11
- <% if (features.ae) { %>require('./script.app-ext.js').syncAppExt()<% } %>
11
+ <% if (scope.features.ae) { %>require('./script.app-ext.js').syncAppExt()<% } %>
12
12
  require('./script.clean.js')
13
13
 
14
14
  console.log(` 📦 Building ${green('v' + require('../package.json').version)}...${parallel ? blue(' [multi-threaded]') : ''}\n`)
@@ -67,7 +67,7 @@ const builds = [
67
67
  input: pathResolve('../src/index.umd.js')
68
68
  },
69
69
  output: {
70
- name: '<%= umdExportName %>',
70
+ name: '<%= scope.umdExportName %>',
71
71
  file: pathResolve('../dist/index.umd.js'),
72
72
  format: 'umd'
73
73
  }
@@ -116,7 +116,7 @@ function addAssets (builds, type, injectName) {
116
116
  output: {
117
117
  file: addExtension(pathResolve(`../dist/${type}/${file}`), 'umd'),
118
118
  format: 'umd',
119
- name: `<%= umdExportName %>.${injectName}.${name}`
119
+ name: `<%= scope.umdExportName %>.${injectName}.${name}`
120
120
  }
121
121
  },
122
122
  build: {
@@ -1,16 +1,21 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title><%= '\<%= productName %\>' %></title>
4
+ <title><%= '<' + '%= productName %' + '>' %></title>
5
5
 
6
6
  <meta charset="utf-8">
7
- <meta name="description" content="<%= '\<%= productDescription %\>' %>">
7
+ <meta name="description" content="<%= '<' + '%= productDescription %' + '>' %>">
8
8
  <meta name="format-detection" content="telephone=no">
9
9
  <meta name="msapplication-tap-highlight" content="no">
10
- <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<%= '\<% if (ctx.mode.cordova || ctx.mode.capacitor) { %\>, viewport-fit=cover \<% } %\>' %>">
10
+ <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width<%= '<' + '% if (ctx.mode.cordova || ctx.mode.capacitor) { %' + '>, viewport-fit=cover<' + '% } %' + '>' %>">
11
+
12
+ <link rel="icon" type="image/png" sizes="128x128" href="icons/favicon-128x128.png">
13
+ <link rel="icon" type="image/png" sizes="96x96" href="icons/favicon-96x96.png">
14
+ <link rel="icon" type="image/png" sizes="32x32" href="icons/favicon-32x32.png">
15
+ <link rel="icon" type="image/png" sizes="16x16" href="icons/favicon-16x16.png">
16
+ <link rel="icon" type="image/ico" href="favicon.ico">
11
17
  </head>
12
18
  <body>
13
- <!-- DO NOT touch the following DIV -->
14
- <div id="q-app"></div>
19
+ <!-- quasar:entry-point -->
15
20
  </body>
16
21
  </html>