create-quasar 1.11.8 → 2.0.0

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 (375) hide show
  1. package/package.json +1 -1
  2. package/templates/app/index.js +1 -2
  3. package/templates/app/quasar-v2/index.js +2 -4
  4. package/templates/app/quasar-v2/js-vite-2/BASE/_package.json +2 -2
  5. package/templates/app/quasar-v2/js-webpack-4/BASE/_package.json +2 -2
  6. package/templates/app/quasar-v2/ts-vite-2/BASE/_package.json +2 -2
  7. package/templates/app/quasar-v2/ts-webpack-4/BASE/_package.json +2 -2
  8. package/templates/app-extension/ae-ts/BASE/app-extension/_package.json +4 -4
  9. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-vite/_package.json +1 -1
  10. package/templates/app-extension/ae-ts/BASE/playground/quasar-cli-webpack/_package.json +1 -1
  11. package/templates/ui-kit/index.js +1 -3
  12. package/utils/index.js +0 -12
  13. package/templates/app/quasar-v1/index.js +0 -19
  14. package/templates/app/quasar-v1/js/.eslintrc.cjs +0 -21
  15. package/templates/app/quasar-v1/js/BASE/README.md +0 -31
  16. package/templates/app/quasar-v1/js/BASE/_.editorconfig +0 -9
  17. package/templates/app/quasar-v1/js/BASE/_.gitignore +0 -33
  18. package/templates/app/quasar-v1/js/BASE/_.postcssrc.js +0 -8
  19. package/templates/app/quasar-v1/js/BASE/_.vscode/extensions.json +0 -12
  20. package/templates/app/quasar-v1/js/BASE/_.vscode/settings.json +0 -6
  21. package/templates/app/quasar-v1/js/BASE/_jsconfig.json +0 -36
  22. package/templates/app/quasar-v1/js/BASE/_package.json +0 -58
  23. package/templates/app/quasar-v1/js/BASE/babel.config.js +0 -7
  24. package/templates/app/quasar-v1/js/BASE/public/favicon.ico +0 -0
  25. package/templates/app/quasar-v1/js/BASE/public/icons/favicon-128x128.png +0 -0
  26. package/templates/app/quasar-v1/js/BASE/public/icons/favicon-16x16.png +0 -0
  27. package/templates/app/quasar-v1/js/BASE/public/icons/favicon-32x32.png +0 -0
  28. package/templates/app/quasar-v1/js/BASE/public/icons/favicon-96x96.png +0 -0
  29. package/templates/app/quasar-v1/js/BASE/quasar.conf.js +0 -199
  30. package/templates/app/quasar-v1/js/BASE/src/App.vue +0 -11
  31. package/templates/app/quasar-v1/js/BASE/src/assets/quasar-logo-vertical.svg +0 -15
  32. package/templates/app/quasar-v1/js/BASE/src/boot/_.gitkeep +0 -0
  33. package/templates/app/quasar-v1/js/BASE/src/components/EssentialLink.vue +0 -49
  34. package/templates/app/quasar-v1/js/BASE/src/index.template.html +0 -22
  35. package/templates/app/quasar-v1/js/BASE/src/layouts/MainLayout.vue +0 -109
  36. package/templates/app/quasar-v1/js/BASE/src/pages/Error404.vue +0 -29
  37. package/templates/app/quasar-v1/js/BASE/src/pages/Index.vue +0 -15
  38. package/templates/app/quasar-v1/js/BASE/src/router/index.js +0 -30
  39. package/templates/app/quasar-v1/js/BASE/src/router/routes.js +0 -18
  40. package/templates/app/quasar-v1/js/axios/src/boot/axios.js +0 -4
  41. package/templates/app/quasar-v1/js/css/src/css/app.css +0 -1
  42. package/templates/app/quasar-v1/js/i18n/src/boot/i18n.js +0 -18
  43. package/templates/app/quasar-v1/js/i18n/src/i18n/en-US/index.js +0 -7
  44. package/templates/app/quasar-v1/js/i18n/src/i18n/index.js +0 -5
  45. package/templates/app/quasar-v1/js/index.js +0 -64
  46. package/templates/app/quasar-v1/js/lint/_.eslintignore +0 -7
  47. package/templates/app/quasar-v1/js/lint/_.eslintrc.js +0 -102
  48. package/templates/app/quasar-v1/js/sass/src/css/app.sass +0 -1
  49. package/templates/app/quasar-v1/js/sass/src/css/quasar.variables.sass +0 -25
  50. package/templates/app/quasar-v1/js/scss/src/css/app.scss +0 -1
  51. package/templates/app/quasar-v1/js/scss/src/css/quasar.variables.scss +0 -25
  52. package/templates/app/quasar-v1/js/styl/_.stylintrc +0 -35
  53. package/templates/app/quasar-v1/js/styl/src/css/app.styl +0 -1
  54. package/templates/app/quasar-v1/js/styl/src/css/quasar.variables.styl +0 -24
  55. package/templates/app/quasar-v1/js/vuex/src/store/index.js +0 -29
  56. package/templates/app/quasar-v1/js/vuex/src/store/module-example/actions.js +0 -2
  57. package/templates/app/quasar-v1/js/vuex/src/store/module-example/getters.js +0 -2
  58. package/templates/app/quasar-v1/js/vuex/src/store/module-example/index.js +0 -12
  59. package/templates/app/quasar-v1/js/vuex/src/store/module-example/mutations.js +0 -2
  60. package/templates/app/quasar-v1/js/vuex/src/store/module-example/state.js +0 -5
  61. package/templates/app/quasar-v1/ts/.eslintrc.cjs +0 -22
  62. package/templates/app/quasar-v1/ts/BASE/README.md +0 -31
  63. package/templates/app/quasar-v1/ts/BASE/_.editorconfig +0 -9
  64. package/templates/app/quasar-v1/ts/BASE/_.gitignore +0 -33
  65. package/templates/app/quasar-v1/ts/BASE/_.postcssrc.js +0 -8
  66. package/templates/app/quasar-v1/ts/BASE/_.vscode/extensions.json +0 -12
  67. package/templates/app/quasar-v1/ts/BASE/_.vscode/settings.json +0 -7
  68. package/templates/app/quasar-v1/ts/BASE/_package.json +0 -63
  69. package/templates/app/quasar-v1/ts/BASE/_tsconfig.json +0 -8
  70. package/templates/app/quasar-v1/ts/BASE/babel.config.js +0 -7
  71. package/templates/app/quasar-v1/ts/BASE/public/favicon.ico +0 -0
  72. package/templates/app/quasar-v1/ts/BASE/public/icons/favicon-128x128.png +0 -0
  73. package/templates/app/quasar-v1/ts/BASE/public/icons/favicon-16x16.png +0 -0
  74. package/templates/app/quasar-v1/ts/BASE/public/icons/favicon-32x32.png +0 -0
  75. package/templates/app/quasar-v1/ts/BASE/public/icons/favicon-96x96.png +0 -0
  76. package/templates/app/quasar-v1/ts/BASE/quasar.conf.js +0 -204
  77. package/templates/app/quasar-v1/ts/BASE/src/App.vue +0 -20
  78. package/templates/app/quasar-v1/ts/BASE/src/assets/quasar-logo-vertical.svg +0 -15
  79. package/templates/app/quasar-v1/ts/BASE/src/boot/_.gitkeep +0 -0
  80. package/templates/app/quasar-v1/ts/BASE/src/components/EssentialLink.vue +0 -90
  81. package/templates/app/quasar-v1/ts/BASE/src/components/ExampleComponent.vue +0 -121
  82. package/templates/app/quasar-v1/ts/BASE/src/components/models.ts +0 -8
  83. package/templates/app/quasar-v1/ts/BASE/src/env.d.ts +0 -7
  84. package/templates/app/quasar-v1/ts/BASE/src/index.template.html +0 -22
  85. package/templates/app/quasar-v1/ts/BASE/src/layouts/MainLayout.vue +0 -225
  86. package/templates/app/quasar-v1/ts/BASE/src/pages/Error404.vue +0 -44
  87. package/templates/app/quasar-v1/ts/BASE/src/pages/Index.vue +0 -119
  88. package/templates/app/quasar-v1/ts/BASE/src/router/index.ts +0 -27
  89. package/templates/app/quasar-v1/ts/BASE/src/router/routes.ts +0 -20
  90. package/templates/app/quasar-v1/ts/BASE/src/shims-vue.d.ts +0 -5
  91. package/templates/app/quasar-v1/ts/axios/src/boot/axios.ts +0 -13
  92. package/templates/app/quasar-v1/ts/css/src/css/app.css +0 -1
  93. package/templates/app/quasar-v1/ts/i18n/src/boot/i18n.ts +0 -23
  94. package/templates/app/quasar-v1/ts/i18n/src/i18n/en-US/index.ts +0 -7
  95. package/templates/app/quasar-v1/ts/i18n/src/i18n/index.ts +0 -5
  96. package/templates/app/quasar-v1/ts/index.js +0 -75
  97. package/templates/app/quasar-v1/ts/lint/_.eslintignore +0 -8
  98. package/templates/app/quasar-v1/ts/lint/_.eslintrc.js +0 -141
  99. package/templates/app/quasar-v1/ts/sass/src/css/app.sass +0 -1
  100. package/templates/app/quasar-v1/ts/sass/src/css/quasar.variables.sass +0 -25
  101. package/templates/app/quasar-v1/ts/scss/src/css/app.scss +0 -1
  102. package/templates/app/quasar-v1/ts/scss/src/css/quasar.variables.scss +0 -25
  103. package/templates/app/quasar-v1/ts/styl/_.stylintrc +0 -35
  104. package/templates/app/quasar-v1/ts/styl/src/css/app.styl +0 -1
  105. package/templates/app/quasar-v1/ts/styl/src/css/quasar.variables.styl +0 -24
  106. package/templates/app/quasar-v1/ts/vuex/src/store/index.ts +0 -33
  107. package/templates/app/quasar-v1/ts/vuex/src/store/module-example/actions.ts +0 -11
  108. package/templates/app/quasar-v1/ts/vuex/src/store/module-example/getters.ts +0 -11
  109. package/templates/app/quasar-v1/ts/vuex/src/store/module-example/index.ts +0 -16
  110. package/templates/app/quasar-v1/ts/vuex/src/store/module-example/mutations.ts +0 -10
  111. package/templates/app/quasar-v1/ts/vuex/src/store/module-example/state.ts +0 -11
  112. package/templates/app/quasar-v2/js-vite-1/.eslintrc.cjs +0 -20
  113. package/templates/app/quasar-v2/js-vite-1/BASE/README.md +0 -41
  114. package/templates/app/quasar-v2/js-vite-1/BASE/_.editorconfig +0 -9
  115. package/templates/app/quasar-v2/js-vite-1/BASE/_.gitignore +0 -33
  116. package/templates/app/quasar-v2/js-vite-1/BASE/_.npmrc +0 -5
  117. package/templates/app/quasar-v2/js-vite-1/BASE/_.vscode/extensions.json +0 -15
  118. package/templates/app/quasar-v2/js-vite-1/BASE/_.vscode/settings.json +0 -10
  119. package/templates/app/quasar-v2/js-vite-1/BASE/_jsconfig.json +0 -39
  120. package/templates/app/quasar-v2/js-vite-1/BASE/_package.json +0 -53
  121. package/templates/app/quasar-v2/js-vite-1/BASE/index.html +0 -21
  122. package/templates/app/quasar-v2/js-vite-1/BASE/postcss.config.cjs +0 -27
  123. package/templates/app/quasar-v2/js-vite-1/BASE/public/favicon.ico +0 -0
  124. package/templates/app/quasar-v2/js-vite-1/BASE/public/icons/favicon-128x128.png +0 -0
  125. package/templates/app/quasar-v2/js-vite-1/BASE/public/icons/favicon-16x16.png +0 -0
  126. package/templates/app/quasar-v2/js-vite-1/BASE/public/icons/favicon-32x32.png +0 -0
  127. package/templates/app/quasar-v2/js-vite-1/BASE/public/icons/favicon-96x96.png +0 -0
  128. package/templates/app/quasar-v2/js-vite-1/BASE/quasar.config.js +0 -221
  129. package/templates/app/quasar-v2/js-vite-1/BASE/src/App.vue +0 -16
  130. package/templates/app/quasar-v2/js-vite-1/BASE/src/assets/quasar-logo-vertical.svg +0 -15
  131. package/templates/app/quasar-v2/js-vite-1/BASE/src/boot/_.gitkeep +0 -0
  132. package/templates/app/quasar-v2/js-vite-1/BASE/src/components/EssentialLink.vue +0 -76
  133. package/templates/app/quasar-v2/js-vite-1/BASE/src/layouts/MainLayout.vue +0 -245
  134. package/templates/app/quasar-v2/js-vite-1/BASE/src/pages/ErrorNotFound.vue +0 -36
  135. package/templates/app/quasar-v2/js-vite-1/BASE/src/pages/IndexPage.vue +0 -22
  136. package/templates/app/quasar-v2/js-vite-1/BASE/src/router/index.js +0 -30
  137. package/templates/app/quasar-v2/js-vite-1/BASE/src/router/routes.js +0 -18
  138. package/templates/app/quasar-v2/js-vite-1/axios/src/boot/axios.js +0 -24
  139. package/templates/app/quasar-v2/js-vite-1/css/src/css/app.css +0 -1
  140. package/templates/app/quasar-v2/js-vite-1/i18n/src/boot/i18n.js +0 -14
  141. package/templates/app/quasar-v2/js-vite-1/i18n/src/i18n/en-US/index.js +0 -7
  142. package/templates/app/quasar-v2/js-vite-1/i18n/src/i18n/index.js +0 -5
  143. package/templates/app/quasar-v2/js-vite-1/index.js +0 -50
  144. package/templates/app/quasar-v2/js-vite-1/lint/_.eslintignore +0 -7
  145. package/templates/app/quasar-v2/js-vite-1/lint/_.eslintrc.cjs +0 -100
  146. package/templates/app/quasar-v2/js-vite-1/pinia/src/stores/example-store.js +0 -15
  147. package/templates/app/quasar-v2/js-vite-1/pinia/src/stores/index.js +0 -20
  148. package/templates/app/quasar-v2/js-vite-1/pinia/src/stores/store-flag.d.ts +0 -13
  149. package/templates/app/quasar-v2/js-vite-1/sass/src/css/app.sass +0 -1
  150. package/templates/app/quasar-v2/js-vite-1/sass/src/css/quasar.variables.sass +0 -25
  151. package/templates/app/quasar-v2/js-vite-1/scss/src/css/app.scss +0 -1
  152. package/templates/app/quasar-v2/js-vite-1/scss/src/css/quasar.variables.scss +0 -25
  153. package/templates/app/quasar-v2/js-vite-1/vuex/src/store/index.js +0 -27
  154. package/templates/app/quasar-v2/js-vite-1/vuex/src/store/module-example/actions.js +0 -2
  155. package/templates/app/quasar-v2/js-vite-1/vuex/src/store/module-example/getters.js +0 -2
  156. package/templates/app/quasar-v2/js-vite-1/vuex/src/store/module-example/index.js +0 -12
  157. package/templates/app/quasar-v2/js-vite-1/vuex/src/store/module-example/mutations.js +0 -2
  158. package/templates/app/quasar-v2/js-vite-1/vuex/src/store/module-example/state.js +0 -5
  159. package/templates/app/quasar-v2/js-vite-1/vuex/src/store/store-flag.d.ts +0 -13
  160. package/templates/app/quasar-v2/js-webpack-3/.eslintrc.cjs +0 -20
  161. package/templates/app/quasar-v2/js-webpack-3/BASE/README.md +0 -41
  162. package/templates/app/quasar-v2/js-webpack-3/BASE/_.editorconfig +0 -9
  163. package/templates/app/quasar-v2/js-webpack-3/BASE/_.gitignore +0 -37
  164. package/templates/app/quasar-v2/js-webpack-3/BASE/_.npmrc +0 -5
  165. package/templates/app/quasar-v2/js-webpack-3/BASE/_.vscode/extensions.json +0 -15
  166. package/templates/app/quasar-v2/js-webpack-3/BASE/_.vscode/settings.json +0 -10
  167. package/templates/app/quasar-v2/js-webpack-3/BASE/_jsconfig.json +0 -39
  168. package/templates/app/quasar-v2/js-webpack-3/BASE/_package.json +0 -63
  169. package/templates/app/quasar-v2/js-webpack-3/BASE/babel.config.cjs +0 -14
  170. package/templates/app/quasar-v2/js-webpack-3/BASE/postcss.config.cjs +0 -9
  171. package/templates/app/quasar-v2/js-webpack-3/BASE/public/favicon.ico +0 -0
  172. package/templates/app/quasar-v2/js-webpack-3/BASE/public/icons/favicon-128x128.png +0 -0
  173. package/templates/app/quasar-v2/js-webpack-3/BASE/public/icons/favicon-16x16.png +0 -0
  174. package/templates/app/quasar-v2/js-webpack-3/BASE/public/icons/favicon-32x32.png +0 -0
  175. package/templates/app/quasar-v2/js-webpack-3/BASE/public/icons/favicon-96x96.png +0 -0
  176. package/templates/app/quasar-v2/js-webpack-3/BASE/quasar.config.js +0 -254
  177. package/templates/app/quasar-v2/js-webpack-3/BASE/src/App.vue +0 -16
  178. package/templates/app/quasar-v2/js-webpack-3/BASE/src/assets/quasar-logo-vertical.svg +0 -15
  179. package/templates/app/quasar-v2/js-webpack-3/BASE/src/boot/_.gitkeep +0 -0
  180. package/templates/app/quasar-v2/js-webpack-3/BASE/src/components/EssentialLink.vue +0 -76
  181. package/templates/app/quasar-v2/js-webpack-3/BASE/src/index.template.html +0 -22
  182. package/templates/app/quasar-v2/js-webpack-3/BASE/src/layouts/MainLayout.vue +0 -245
  183. package/templates/app/quasar-v2/js-webpack-3/BASE/src/pages/ErrorNotFound.vue +0 -36
  184. package/templates/app/quasar-v2/js-webpack-3/BASE/src/pages/IndexPage.vue +0 -22
  185. package/templates/app/quasar-v2/js-webpack-3/BASE/src/router/index.js +0 -30
  186. package/templates/app/quasar-v2/js-webpack-3/BASE/src/router/routes.js +0 -18
  187. package/templates/app/quasar-v2/js-webpack-3/axios/src/boot/axios.js +0 -24
  188. package/templates/app/quasar-v2/js-webpack-3/css/src/css/app.css +0 -1
  189. package/templates/app/quasar-v2/js-webpack-3/i18n/src/boot/i18n.js +0 -14
  190. package/templates/app/quasar-v2/js-webpack-3/i18n/src/i18n/en-US/index.js +0 -7
  191. package/templates/app/quasar-v2/js-webpack-3/i18n/src/i18n/index.js +0 -5
  192. package/templates/app/quasar-v2/js-webpack-3/index.js +0 -50
  193. package/templates/app/quasar-v2/js-webpack-3/lint/_.eslintignore +0 -9
  194. package/templates/app/quasar-v2/js-webpack-3/lint/_.eslintrc.cjs +0 -101
  195. package/templates/app/quasar-v2/js-webpack-3/pinia/src/stores/example-store.js +0 -15
  196. package/templates/app/quasar-v2/js-webpack-3/pinia/src/stores/index.js +0 -20
  197. package/templates/app/quasar-v2/js-webpack-3/pinia/src/stores/store-flag.d.ts +0 -13
  198. package/templates/app/quasar-v2/js-webpack-3/sass/src/css/app.sass +0 -1
  199. package/templates/app/quasar-v2/js-webpack-3/sass/src/css/quasar.variables.sass +0 -25
  200. package/templates/app/quasar-v2/js-webpack-3/scss/src/css/app.scss +0 -1
  201. package/templates/app/quasar-v2/js-webpack-3/scss/src/css/quasar.variables.scss +0 -25
  202. package/templates/app/quasar-v2/js-webpack-3/vuex/src/store/index.js +0 -27
  203. package/templates/app/quasar-v2/js-webpack-3/vuex/src/store/module-example/actions.js +0 -2
  204. package/templates/app/quasar-v2/js-webpack-3/vuex/src/store/module-example/getters.js +0 -2
  205. package/templates/app/quasar-v2/js-webpack-3/vuex/src/store/module-example/index.js +0 -12
  206. package/templates/app/quasar-v2/js-webpack-3/vuex/src/store/module-example/mutations.js +0 -2
  207. package/templates/app/quasar-v2/js-webpack-3/vuex/src/store/module-example/state.js +0 -5
  208. package/templates/app/quasar-v2/js-webpack-3/vuex/src/store/store-flag.d.ts +0 -13
  209. package/templates/app/quasar-v2/ts-vite-1/.eslintrc.cjs +0 -21
  210. package/templates/app/quasar-v2/ts-vite-1/BASE/README.md +0 -41
  211. package/templates/app/quasar-v2/ts-vite-1/BASE/_.editorconfig +0 -9
  212. package/templates/app/quasar-v2/ts-vite-1/BASE/_.gitignore +0 -37
  213. package/templates/app/quasar-v2/ts-vite-1/BASE/_.npmrc +0 -5
  214. package/templates/app/quasar-v2/ts-vite-1/BASE/_.vscode/extensions.json +0 -15
  215. package/templates/app/quasar-v2/ts-vite-1/BASE/_.vscode/settings.json +0 -11
  216. package/templates/app/quasar-v2/ts-vite-1/BASE/_package.json +0 -57
  217. package/templates/app/quasar-v2/ts-vite-1/BASE/_tsconfig.json +0 -14
  218. package/templates/app/quasar-v2/ts-vite-1/BASE/index.html +0 -21
  219. package/templates/app/quasar-v2/ts-vite-1/BASE/postcss.config.cjs +0 -27
  220. package/templates/app/quasar-v2/ts-vite-1/BASE/public/favicon.ico +0 -0
  221. package/templates/app/quasar-v2/ts-vite-1/BASE/public/icons/favicon-128x128.png +0 -0
  222. package/templates/app/quasar-v2/ts-vite-1/BASE/public/icons/favicon-16x16.png +0 -0
  223. package/templates/app/quasar-v2/ts-vite-1/BASE/public/icons/favicon-32x32.png +0 -0
  224. package/templates/app/quasar-v2/ts-vite-1/BASE/public/icons/favicon-96x96.png +0 -0
  225. package/templates/app/quasar-v2/ts-vite-1/BASE/quasar.config.js +0 -224
  226. package/templates/app/quasar-v2/ts-vite-1/BASE/src/App.vue +0 -16
  227. package/templates/app/quasar-v2/ts-vite-1/BASE/src/assets/quasar-logo-vertical.svg +0 -15
  228. package/templates/app/quasar-v2/ts-vite-1/BASE/src/boot/_.gitkeep +0 -0
  229. package/templates/app/quasar-v2/ts-vite-1/BASE/src/components/EssentialLink.vue +0 -74
  230. package/templates/app/quasar-v2/ts-vite-1/BASE/src/components/ExampleComponent.vue +0 -133
  231. package/templates/app/quasar-v2/ts-vite-1/BASE/src/components/models.ts +0 -8
  232. package/templates/app/quasar-v2/ts-vite-1/BASE/src/env.d.ts +0 -9
  233. package/templates/app/quasar-v2/ts-vite-1/BASE/src/layouts/MainLayout.vue +0 -245
  234. package/templates/app/quasar-v2/ts-vite-1/BASE/src/pages/ErrorNotFound.vue +0 -36
  235. package/templates/app/quasar-v2/ts-vite-1/BASE/src/pages/IndexPage.vue +0 -135
  236. package/templates/app/quasar-v2/ts-vite-1/BASE/src/quasar.d.ts +0 -9
  237. package/templates/app/quasar-v2/ts-vite-1/BASE/src/router/index.ts +0 -37
  238. package/templates/app/quasar-v2/ts-vite-1/BASE/src/router/routes.ts +0 -18
  239. package/templates/app/quasar-v2/ts-vite-1/BASE/src/shims-vue.d.ts +0 -10
  240. package/templates/app/quasar-v2/ts-vite-1/axios/src/boot/axios.ts +0 -31
  241. package/templates/app/quasar-v2/ts-vite-1/css/src/css/app.css +0 -1
  242. package/templates/app/quasar-v2/ts-vite-1/i18n/src/boot/i18n.ts +0 -33
  243. package/templates/app/quasar-v2/ts-vite-1/i18n/src/i18n/en-US/index.ts +0 -7
  244. package/templates/app/quasar-v2/ts-vite-1/i18n/src/i18n/index.ts +0 -5
  245. package/templates/app/quasar-v2/ts-vite-1/index.js +0 -55
  246. package/templates/app/quasar-v2/ts-vite-1/lint/_.eslintignore +0 -7
  247. package/templates/app/quasar-v2/ts-vite-1/lint/_.eslintrc.cjs +0 -130
  248. package/templates/app/quasar-v2/ts-vite-1/lint/_tsconfig.vue-tsc.json +0 -6
  249. package/templates/app/quasar-v2/ts-vite-1/pinia/src/stores/example-store.ts +0 -15
  250. package/templates/app/quasar-v2/ts-vite-1/pinia/src/stores/index.ts +0 -32
  251. package/templates/app/quasar-v2/ts-vite-1/pinia/src/stores/store-flag.d.ts +0 -13
  252. package/templates/app/quasar-v2/ts-vite-1/prettier/_.prettierrc +0 -4
  253. package/templates/app/quasar-v2/ts-vite-1/sass/src/css/app.sass +0 -1
  254. package/templates/app/quasar-v2/ts-vite-1/sass/src/css/quasar.variables.sass +0 -25
  255. package/templates/app/quasar-v2/ts-vite-1/scss/src/css/app.scss +0 -1
  256. package/templates/app/quasar-v2/ts-vite-1/scss/src/css/quasar.variables.scss +0 -25
  257. package/templates/app/quasar-v2/ts-vite-1/vuex/src/store/index.ts +0 -63
  258. package/templates/app/quasar-v2/ts-vite-1/vuex/src/store/module-example/actions.ts +0 -11
  259. package/templates/app/quasar-v2/ts-vite-1/vuex/src/store/module-example/getters.ts +0 -11
  260. package/templates/app/quasar-v2/ts-vite-1/vuex/src/store/module-example/index.ts +0 -16
  261. package/templates/app/quasar-v2/ts-vite-1/vuex/src/store/module-example/mutations.ts +0 -10
  262. package/templates/app/quasar-v2/ts-vite-1/vuex/src/store/module-example/state.ts +0 -11
  263. package/templates/app/quasar-v2/ts-vite-1/vuex/src/store/store-flag.d.ts +0 -13
  264. package/templates/app/quasar-v2/ts-webpack-3/.eslintrc.cjs +0 -21
  265. package/templates/app/quasar-v2/ts-webpack-3/BASE/README.md +0 -41
  266. package/templates/app/quasar-v2/ts-webpack-3/BASE/_.editorconfig +0 -9
  267. package/templates/app/quasar-v2/ts-webpack-3/BASE/_.gitignore +0 -37
  268. package/templates/app/quasar-v2/ts-webpack-3/BASE/_.npmrc +0 -5
  269. package/templates/app/quasar-v2/ts-webpack-3/BASE/_.vscode/extensions.json +0 -15
  270. package/templates/app/quasar-v2/ts-webpack-3/BASE/_.vscode/settings.json +0 -11
  271. package/templates/app/quasar-v2/ts-webpack-3/BASE/_package.json +0 -78
  272. package/templates/app/quasar-v2/ts-webpack-3/BASE/_tsconfig.json +0 -14
  273. package/templates/app/quasar-v2/ts-webpack-3/BASE/babel.config.cjs +0 -14
  274. package/templates/app/quasar-v2/ts-webpack-3/BASE/postcss.config.cjs +0 -9
  275. package/templates/app/quasar-v2/ts-webpack-3/BASE/public/favicon.ico +0 -0
  276. package/templates/app/quasar-v2/ts-webpack-3/BASE/public/icons/favicon-128x128.png +0 -0
  277. package/templates/app/quasar-v2/ts-webpack-3/BASE/public/icons/favicon-16x16.png +0 -0
  278. package/templates/app/quasar-v2/ts-webpack-3/BASE/public/icons/favicon-32x32.png +0 -0
  279. package/templates/app/quasar-v2/ts-webpack-3/BASE/public/icons/favicon-96x96.png +0 -0
  280. package/templates/app/quasar-v2/ts-webpack-3/BASE/quasar.config.js +0 -233
  281. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/App.vue +0 -16
  282. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/assets/quasar-logo-vertical.svg +0 -15
  283. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/boot/_.gitkeep +0 -0
  284. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/components/EssentialLink.vue +0 -74
  285. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/components/ExampleComponent.vue +0 -133
  286. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/components/models.ts +0 -8
  287. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/env.d.ts +0 -9
  288. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/index.template.html +0 -22
  289. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/layouts/MainLayout.vue +0 -245
  290. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/pages/ErrorNotFound.vue +0 -36
  291. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/pages/IndexPage.vue +0 -135
  292. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/quasar.d.ts +0 -9
  293. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/router/index.ts +0 -38
  294. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/router/routes.ts +0 -18
  295. package/templates/app/quasar-v2/ts-webpack-3/BASE/src/shims-vue.d.ts +0 -8
  296. package/templates/app/quasar-v2/ts-webpack-3/axios/src/boot/axios.ts +0 -31
  297. package/templates/app/quasar-v2/ts-webpack-3/css/src/css/app.css +0 -1
  298. package/templates/app/quasar-v2/ts-webpack-3/i18n/src/boot/i18n.ts +0 -33
  299. package/templates/app/quasar-v2/ts-webpack-3/i18n/src/i18n/en-US/index.ts +0 -7
  300. package/templates/app/quasar-v2/ts-webpack-3/i18n/src/i18n/index.ts +0 -5
  301. package/templates/app/quasar-v2/ts-webpack-3/index.js +0 -55
  302. package/templates/app/quasar-v2/ts-webpack-3/lint/_.eslintignore +0 -10
  303. package/templates/app/quasar-v2/ts-webpack-3/lint/_.eslintrc.cjs +0 -134
  304. package/templates/app/quasar-v2/ts-webpack-3/pinia/src/stores/example-store.ts +0 -15
  305. package/templates/app/quasar-v2/ts-webpack-3/pinia/src/stores/index.ts +0 -32
  306. package/templates/app/quasar-v2/ts-webpack-3/pinia/src/stores/store-flag.d.ts +0 -13
  307. package/templates/app/quasar-v2/ts-webpack-3/prettier/_.prettierrc +0 -4
  308. package/templates/app/quasar-v2/ts-webpack-3/sass/src/css/app.sass +0 -1
  309. package/templates/app/quasar-v2/ts-webpack-3/sass/src/css/quasar.variables.sass +0 -25
  310. package/templates/app/quasar-v2/ts-webpack-3/scss/src/css/app.scss +0 -1
  311. package/templates/app/quasar-v2/ts-webpack-3/scss/src/css/quasar.variables.scss +0 -25
  312. package/templates/app/quasar-v2/ts-webpack-3/vuex/src/store/index.ts +0 -63
  313. package/templates/app/quasar-v2/ts-webpack-3/vuex/src/store/module-example/actions.ts +0 -11
  314. package/templates/app/quasar-v2/ts-webpack-3/vuex/src/store/module-example/getters.ts +0 -11
  315. package/templates/app/quasar-v2/ts-webpack-3/vuex/src/store/module-example/index.ts +0 -16
  316. package/templates/app/quasar-v2/ts-webpack-3/vuex/src/store/module-example/mutations.ts +0 -10
  317. package/templates/app/quasar-v2/ts-webpack-3/vuex/src/store/module-example/state.ts +0 -11
  318. package/templates/app/quasar-v2/ts-webpack-3/vuex/src/store/store-flag.d.ts +0 -13
  319. package/templates/ui-kit/quasar-v1/BASE/LICENSE +0 -21
  320. package/templates/ui-kit/quasar-v1/BASE/README.md +0 -16
  321. package/templates/ui-kit/quasar-v1/BASE/_.gitignore +0 -16
  322. package/templates/ui-kit/quasar-v1/BASE/_jsconfig.json +0 -9
  323. package/templates/ui-kit/quasar-v1/BASE/ui/README.md +0 -156
  324. package/templates/ui-kit/quasar-v1/BASE/ui/_.npmignore +0 -21
  325. package/templates/ui-kit/quasar-v1/BASE/ui/_package.json +0 -41
  326. package/templates/ui-kit/quasar-v1/BASE/ui/build/config.js +0 -13
  327. package/templates/ui-kit/quasar-v1/BASE/ui/build/entry/index.common.js +0 -3
  328. package/templates/ui-kit/quasar-v1/BASE/ui/build/entry/index.esm.js +0 -4
  329. package/templates/ui-kit/quasar-v1/BASE/ui/build/entry/index.umd.js +0 -6
  330. package/templates/ui-kit/quasar-v1/BASE/ui/build/index.js +0 -19
  331. package/templates/ui-kit/quasar-v1/BASE/ui/build/script.app-ext.js +0 -60
  332. package/templates/ui-kit/quasar-v1/BASE/ui/build/script.clean.js +0 -6
  333. package/templates/ui-kit/quasar-v1/BASE/ui/build/script.css.js +0 -75
  334. package/templates/ui-kit/quasar-v1/BASE/ui/build/script.javascript.js +0 -204
  335. package/templates/ui-kit/quasar-v1/BASE/ui/build/script.open-umd.js +0 -6
  336. package/templates/ui-kit/quasar-v1/BASE/ui/build/utils.js +0 -55
  337. package/templates/ui-kit/quasar-v1/BASE/ui/dev/README.md +0 -3
  338. package/templates/ui-kit/quasar-v1/BASE/ui/dev/_.editorconfig +0 -9
  339. package/templates/ui-kit/quasar-v1/BASE/ui/dev/_.gitignore +0 -20
  340. package/templates/ui-kit/quasar-v1/BASE/ui/dev/_.postcssrc.js +0 -8
  341. package/templates/ui-kit/quasar-v1/BASE/ui/dev/_package.json +0 -37
  342. package/templates/ui-kit/quasar-v1/BASE/ui/dev/babel.config.js +0 -5
  343. package/templates/ui-kit/quasar-v1/BASE/ui/dev/quasar.conf.js +0 -60
  344. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/App.vue +0 -11
  345. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/assets/_.gitkeep +0 -0
  346. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/boot/register.js +0 -4
  347. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/components/_.gitkeep +0 -0
  348. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/css/app.sass +0 -2
  349. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/css/quasar.variables.sass +0 -22
  350. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/index.template.html +0 -16
  351. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/layouts/MyLayout.vue +0 -39
  352. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/pages/Index.vue +0 -38
  353. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/pages/Test1.vue +0 -18
  354. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/router/index.js +0 -43
  355. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/router/pages.js +0 -27
  356. package/templates/ui-kit/quasar-v1/BASE/ui/dev/src/router/routes.js +0 -18
  357. package/templates/ui-kit/quasar-v1/BASE/ui/src/index.js +0 -23
  358. package/templates/ui-kit/quasar-v1/BASE/ui/src/index.sass +0 -3
  359. package/templates/ui-kit/quasar-v1/BASE/ui/src/mixins/_.gitkeep +0 -0
  360. package/templates/ui-kit/quasar-v1/BASE/ui/umd-test.html +0 -58
  361. package/templates/ui-kit/quasar-v1/ae/app-extension/README.md +0 -33
  362. package/templates/ui-kit/quasar-v1/ae/app-extension/_.npmignore +0 -17
  363. package/templates/ui-kit/quasar-v1/ae/app-extension/_package.json +0 -16
  364. package/templates/ui-kit/quasar-v1/ae/app-extension/src/boot/register.js +0 -4
  365. package/templates/ui-kit/quasar-v1/ae/app-extension/src/index.js +0 -36
  366. package/templates/ui-kit/quasar-v1/ae/app-extension/src/templates/_.gitkeep +0 -0
  367. package/templates/ui-kit/quasar-v1/ae-install/app-extension/src/install.js +0 -9
  368. package/templates/ui-kit/quasar-v1/ae-prompts/app-extension/src/prompts.js +0 -44
  369. package/templates/ui-kit/quasar-v1/ae-uninstall/app-extension/src/uninstall.js +0 -9
  370. package/templates/ui-kit/quasar-v1/index.js +0 -18
  371. package/templates/ui-kit/quasar-v1/ui-ae/ui/build/script.app-ext.js +0 -60
  372. package/templates/ui-kit/quasar-v1/ui-component/ui/src/components/Component.js +0 -14
  373. package/templates/ui-kit/quasar-v1/ui-component/ui/src/components/Component.sass +0 -2
  374. package/templates/ui-kit/quasar-v1/ui-directive/ui/src/directives/Directive.js +0 -7
  375. package/templates/ui-kit/quasar-v1/ui-directive/ui/src/directives/Directive.sass +0 -2
@@ -1,245 +0,0 @@
1
- <template>
2
- <q-layout view="lHh Lpr lFf">
3
- <q-header elevated>
4
- <q-toolbar>
5
- <q-btn
6
- flat
7
- dense
8
- round
9
- icon="menu"
10
- aria-label="Menu"
11
- @click="toggleLeftDrawer"
12
- />
13
-
14
- <q-toolbar-title>
15
- Quasar App
16
- </q-toolbar-title>
17
-
18
- <div>Quasar v{{ $q.version }}</div>
19
- </q-toolbar>
20
- </q-header>
21
-
22
- <q-drawer
23
- v-model="leftDrawerOpen"
24
- show-if-above
25
- bordered
26
- >
27
- <q-list>
28
- <q-item-label
29
- header
30
- >
31
- Essential Links
32
- </q-item-label>
33
-
34
- <EssentialLink
35
- v-for="link in linksList"
36
- :key="link.title"
37
- v-bind="link"
38
- />
39
- </q-list>
40
- </q-drawer>
41
-
42
- <q-page-container>
43
- <router-view />
44
- </q-page-container>
45
- </q-layout>
46
- </template>
47
- <% if (sfcStyle === 'composition-setup') { %>
48
- <script setup>
49
- import { ref } from 'vue'
50
- import EssentialLink from 'components/EssentialLink.vue'
51
-
52
- defineOptions({
53
- name: 'MainLayout'
54
- })
55
-
56
- const linksList = [
57
- {
58
- title: 'Docs',
59
- caption: 'quasar.dev',
60
- icon: 'school',
61
- link: 'https://quasar.dev'
62
- },
63
- {
64
- title: 'Github',
65
- caption: 'github.com/quasarframework',
66
- icon: 'code',
67
- link: 'https://github.com/quasarframework'
68
- },
69
- {
70
- title: 'Discord Chat Channel',
71
- caption: 'chat.quasar.dev',
72
- icon: 'chat',
73
- link: 'https://chat.quasar.dev'
74
- },
75
- {
76
- title: 'Forum',
77
- caption: 'forum.quasar.dev',
78
- icon: 'record_voice_over',
79
- link: 'https://forum.quasar.dev'
80
- },
81
- {
82
- title: 'Twitter',
83
- caption: '@quasarframework',
84
- icon: 'rss_feed',
85
- link: 'https://twitter.quasar.dev'
86
- },
87
- {
88
- title: 'Facebook',
89
- caption: '@QuasarFramework',
90
- icon: 'public',
91
- link: 'https://facebook.quasar.dev'
92
- },
93
- {
94
- title: 'Quasar Awesome',
95
- caption: 'Community Quasar projects',
96
- icon: 'favorite',
97
- link: 'https://awesome.quasar.dev'
98
- }
99
- ]
100
-
101
- const leftDrawerOpen = ref(false)
102
-
103
- function toggleLeftDrawer () {
104
- leftDrawerOpen.value = !leftDrawerOpen.value
105
- }
106
- </script><% } else if (sfcStyle === 'composition') { %>
107
- <script>
108
- import { defineComponent, ref } from 'vue'
109
- import EssentialLink from 'components/EssentialLink.vue'
110
-
111
- const linksList = [
112
- {
113
- title: 'Docs',
114
- caption: 'quasar.dev',
115
- icon: 'school',
116
- link: 'https://quasar.dev'
117
- },
118
- {
119
- title: 'Github',
120
- caption: 'github.com/quasarframework',
121
- icon: 'code',
122
- link: 'https://github.com/quasarframework'
123
- },
124
- {
125
- title: 'Discord Chat Channel',
126
- caption: 'chat.quasar.dev',
127
- icon: 'chat',
128
- link: 'https://chat.quasar.dev'
129
- },
130
- {
131
- title: 'Forum',
132
- caption: 'forum.quasar.dev',
133
- icon: 'record_voice_over',
134
- link: 'https://forum.quasar.dev'
135
- },
136
- {
137
- title: 'Twitter',
138
- caption: '@quasarframework',
139
- icon: 'rss_feed',
140
- link: 'https://twitter.quasar.dev'
141
- },
142
- {
143
- title: 'Facebook',
144
- caption: '@QuasarFramework',
145
- icon: 'public',
146
- link: 'https://facebook.quasar.dev'
147
- },
148
- {
149
- title: 'Quasar Awesome',
150
- caption: 'Community Quasar projects',
151
- icon: 'favorite',
152
- link: 'https://awesome.quasar.dev'
153
- }
154
- ]
155
-
156
- export default defineComponent({
157
- name: 'MainLayout',
158
-
159
- components: {
160
- EssentialLink
161
- },
162
-
163
- setup () {
164
- const leftDrawerOpen = ref(false)
165
-
166
- return {
167
- linksList,
168
- leftDrawerOpen,
169
- toggleLeftDrawer () {
170
- leftDrawerOpen.value = !leftDrawerOpen.value
171
- }
172
- }
173
- }
174
- })
175
- </script><% } else if (sfcStyle === 'options') { %>
176
- <script>
177
- import { defineComponent, ref } from 'vue'
178
- import EssentialLink from 'components/EssentialLink.vue'
179
-
180
- const linksList = [
181
- {
182
- title: 'Docs',
183
- caption: 'quasar.dev',
184
- icon: 'school',
185
- link: 'https://quasar.dev'
186
- },
187
- {
188
- title: 'Github',
189
- caption: 'github.com/quasarframework',
190
- icon: 'code',
191
- link: 'https://github.com/quasarframework'
192
- },
193
- {
194
- title: 'Discord Chat Channel',
195
- caption: 'chat.quasar.dev',
196
- icon: 'chat',
197
- link: 'https://chat.quasar.dev'
198
- },
199
- {
200
- title: 'Forum',
201
- caption: 'forum.quasar.dev',
202
- icon: 'record_voice_over',
203
- link: 'https://forum.quasar.dev'
204
- },
205
- {
206
- title: 'Twitter',
207
- caption: '@quasarframework',
208
- icon: 'rss_feed',
209
- link: 'https://twitter.quasar.dev'
210
- },
211
- {
212
- title: 'Facebook',
213
- caption: '@QuasarFramework',
214
- icon: 'public',
215
- link: 'https://facebook.quasar.dev'
216
- },
217
- {
218
- title: 'Quasar Awesome',
219
- caption: 'Community Quasar projects',
220
- icon: 'favorite',
221
- link: 'https://awesome.quasar.dev'
222
- }
223
- ]
224
-
225
- export default defineComponent({
226
- name: 'MainLayout',
227
-
228
- components: {
229
- EssentialLink
230
- },
231
-
232
- data () {
233
- return {
234
- linksList,
235
- leftDrawerOpen: false
236
- }
237
- },
238
-
239
- methods: {
240
- toggleLeftDrawer () {
241
- this.leftDrawerOpen = !this.leftDrawerOpen
242
- }
243
- }
244
- })
245
- </script><% } %>
@@ -1,36 +0,0 @@
1
- <template>
2
- <div class="fullscreen bg-blue text-white text-center q-pa-md flex flex-center">
3
- <div>
4
- <div style="font-size: 30vh">
5
- 404
6
- </div>
7
-
8
- <div class="text-h2" style="opacity:.4">
9
- Oops. Nothing here...
10
- </div>
11
-
12
- <q-btn
13
- class="q-mt-xl"
14
- color="white"
15
- text-color="blue"
16
- unelevated
17
- to="/"
18
- label="Go Home"
19
- no-caps
20
- />
21
- </div>
22
- </div>
23
- </template>
24
- <% if (sfcStyle === 'composition-setup') { %>
25
- <script setup>
26
- defineOptions({
27
- name: 'ErrorNotFound'
28
- });
29
- </script><% } else if (sfcStyle === 'composition' || sfcStyle === 'options') { %>
30
- <script>
31
- import { defineComponent } from 'vue';
32
-
33
- export default defineComponent({
34
- name: 'ErrorNotFound'
35
- });
36
- </script><% } %>
@@ -1,22 +0,0 @@
1
- <template>
2
- <q-page class="flex flex-center">
3
- <img
4
- alt="Quasar logo"
5
- src="~assets/quasar-logo-vertical.svg"
6
- style="width: 200px; height: 200px"
7
- >
8
- </q-page>
9
- </template>
10
- <% if (sfcStyle === 'composition-setup') { %>
11
- <script setup>
12
- defineOptions({
13
- name: 'IndexPage'
14
- });
15
- </script><% } else if (sfcStyle === 'composition' || sfcStyle === 'options') { %>
16
- <script>
17
- import { defineComponent } from 'vue';
18
-
19
- export default defineComponent({
20
- name: 'IndexPage'
21
- });
22
- </script><% } %>
@@ -1,30 +0,0 @@
1
- import { route } from 'quasar/wrappers'
2
- import { createRouter, createMemoryHistory, createWebHistory, createWebHashHistory } from 'vue-router'
3
- import routes from './routes'
4
-
5
- /*
6
- * If not building with SSR mode, you can
7
- * directly export the Router instantiation;
8
- *
9
- * The function below can be async too; either use
10
- * async/await or return a Promise which resolves
11
- * with the Router instance.
12
- */
13
-
14
- export default route(function (/* { store, ssrContext } */) {
15
- const createHistory = process.env.SERVER
16
- ? createMemoryHistory
17
- : (process.env.VUE_ROUTER_MODE === 'history' ? createWebHistory : createWebHashHistory)
18
-
19
- const Router = createRouter({
20
- scrollBehavior: () => ({ left: 0, top: 0 }),
21
- routes,
22
-
23
- // Leave this as is and make changes in quasar.conf.js instead!
24
- // quasar.conf.js -> build -> vueRouterMode
25
- // quasar.conf.js -> build -> publicPath
26
- history: createHistory(process.env.VUE_ROUTER_BASE)
27
- })
28
-
29
- return Router
30
- })
@@ -1,18 +0,0 @@
1
- const routes = [
2
- {
3
- path: '/',
4
- component: () => import('layouts/MainLayout.vue'),
5
- children: [
6
- { path: '', component: () => import('pages/IndexPage.vue') }
7
- ]
8
- },
9
-
10
- // Always leave this as last one,
11
- // but you can also remove it
12
- {
13
- path: '/:catchAll(.*)*',
14
- component: () => import('pages/ErrorNotFound.vue')
15
- }
16
- ]
17
-
18
- export default routes
@@ -1,24 +0,0 @@
1
- import { boot } from 'quasar/wrappers'
2
- import axios from 'axios'
3
-
4
- // Be careful when using SSR for cross-request state pollution
5
- // due to creating a Singleton instance here;
6
- // If any client changes this (global) instance, it might be a
7
- // good idea to move this instance creation inside of the
8
- // "export default () => {}" function below (which runs individually
9
- // for each client)
10
- const api = axios.create({ baseURL: 'https://api.example.com' })
11
-
12
- export default boot(({ app }) => {
13
- // for use inside Vue files (Options API) through this.$axios and this.$api
14
-
15
- app.config.globalProperties.$axios = axios
16
- // ^ ^ ^ this will allow you to use this.$axios (for Vue Options API form)
17
- // so you won't necessarily have to import axios in each vue file
18
-
19
- app.config.globalProperties.$api = api
20
- // ^ ^ ^ this will allow you to use this.$api (for Vue Options API form)
21
- // so you can easily perform requests against your app's API
22
- })
23
-
24
- export { api }
@@ -1 +0,0 @@
1
- /* app global css */
@@ -1,14 +0,0 @@
1
- import { boot } from 'quasar/wrappers'
2
- import { createI18n } from 'vue-i18n'
3
- import messages from 'src/i18n'
4
-
5
- export default boot(({ app }) => {
6
- const i18n = createI18n({
7
- locale: 'en-US',
8
- globalInjection: true,
9
- messages
10
- })
11
-
12
- // Set i18n instance on app
13
- app.use(i18n)
14
- })
@@ -1,7 +0,0 @@
1
- // This is just an example,
2
- // so you can safely delete all default props below
3
-
4
- export default {
5
- failed: 'Action failed',
6
- success: 'Action was successful'
7
- }
@@ -1,5 +0,0 @@
1
- import enUS from './en-US'
2
-
3
- export default {
4
- 'en-US': enUS
5
- }
@@ -1,50 +0,0 @@
1
- export async function script ({ scope, utils }) {
2
- await utils.prompts(scope, [
3
- {
4
- type: 'multiselect',
5
- name: 'preset',
6
- message: 'Check the features needed for your project:',
7
- choices: [
8
- { title: 'Linting (vite-plugin-checker + ESLint)', value: 'lint', description: 'recommended', selected: true },
9
- { title: 'State Management (Pinia)', value: 'pinia', description: 'https://pinia.vuejs.org' },
10
- { title: 'State Management (Vuex) [DEPRECATED by Vue Team]', value: 'vuex', description: 'See https://vuejs.org/guide/scaling-up/state-management.html#pinia' },
11
- { title: 'axios', value: 'axios' },
12
- { title: 'vue-i18n', value: 'i18n' }
13
- ],
14
- format: values => {
15
- let result = values
16
-
17
- if (values.includes('vuex') && values.includes('pinia')) {
18
- console.log()
19
- utils.logger.warn('Only one state management package can be used. Picking the recommended Pinia and dropping Vuex.')
20
- console.log()
21
-
22
- result = values.filter(entry => entry !== 'vuex')
23
- }
24
-
25
- return utils.convertArrayToObject(result)
26
- }
27
- },
28
- {
29
- type: (_, { preset }) => (preset.lint ? 'select' : null),
30
- name: 'lintConfig',
31
- message: 'Pick an ESLint preset:',
32
- choices: [
33
- { title: 'Prettier', value: 'prettier', description: 'https://github.com/prettier/prettier' },
34
- { title: 'Standard', value: 'standard', description: 'https://github.com/standard/standard' },
35
- { title: 'Airbnb', value: 'airbnb', description: 'https://github.com/airbnb/javascript' }
36
- ]
37
- }
38
- ])
39
-
40
- utils.createTargetDir(scope)
41
- utils.renderTemplate('BASE', scope)
42
- utils.renderTemplate(scope.css, scope)
43
-
44
- if (scope.preset.axios) utils.renderTemplate('axios', scope)
45
- if (scope.preset.i18n) utils.renderTemplate('i18n', scope)
46
- if (scope.preset.lint) utils.renderTemplate('lint', scope)
47
-
48
- if (scope.preset.pinia) utils.renderTemplate('pinia', scope)
49
- else if (scope.preset.vuex) utils.renderTemplate('vuex', scope)
50
- }
@@ -1,7 +0,0 @@
1
- /dist
2
- /src-capacitor
3
- /src-cordova
4
- /.quasar
5
- /node_modules
6
- .eslintrc.cjs
7
- /quasar.config.*.temporary.compiled*
@@ -1,100 +0,0 @@
1
- module.exports = {
2
- // https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
3
- // This option interrupts the configuration hierarchy at this file
4
- // Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
5
- root: true,
6
-
7
- parserOptions: {
8
- ecmaVersion: 2021, // Allows for the parsing of modern ECMAScript features
9
- },
10
-
11
- env: {
12
- node: true,
13
- browser: true
14
- },
15
-
16
- // Rules order is important, please avoid shuffling them
17
- extends: [
18
- // Base ESLint recommended rules
19
- // 'eslint:recommended',
20
-
21
- // Uncomment any of the lines below to choose desired strictness,
22
- // but leave only one uncommented!
23
- // See https://eslint.vuejs.org/rules/#available-rules
24
- 'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
25
- // 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
26
- // 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
27
-
28
- <% if (lintConfig === 'standard') { %>'standard'
29
- <% } else if (lintConfig === 'airbnb') { %>'airbnb-base'
30
- <% } else if (lintConfig === 'prettier') { %>// https://github.com/prettier/eslint-config-prettier#installation
31
- // usage with Prettier, provided by 'eslint-config-prettier'.
32
- 'prettier'<% } %>
33
- ],
34
-
35
- plugins: [
36
- // https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
37
- // required to lint *.vue files
38
- 'vue',
39
- <% if (lintConfig === 'prettier') { %>
40
- // https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
41
- // Prettier has not been included as plugin to avoid performance impact
42
- // add it as an extension for your IDE
43
- <% } %>
44
- ],
45
-
46
- globals: {
47
- ga: 'readonly', // Google Analytics
48
- cordova: 'readonly',
49
- __statics: 'readonly',
50
- __QUASAR_SSR__: 'readonly',
51
- __QUASAR_SSR_SERVER__: 'readonly',
52
- __QUASAR_SSR_CLIENT__: 'readonly',
53
- __QUASAR_SSR_PWA__: 'readonly',
54
- process: 'readonly',
55
- Capacitor: 'readonly',
56
- chrome: 'readonly'
57
- },
58
-
59
- // add your custom rules here
60
- rules: {
61
- <% if (lintConfig === 'standard') { %>
62
- // allow async-await
63
- 'generator-star-spacing': 'off',
64
- // allow paren-less arrow functions
65
- 'arrow-parens': 'off',
66
- 'one-var': 'off',
67
- 'no-void': 'off',
68
- 'multiline-ternary': 'off',
69
-
70
- 'import/first': 'off',
71
- 'import/named': 'error',
72
- 'import/namespace': 'error',
73
- 'import/default': 'error',
74
- 'import/export': 'error',
75
- 'import/extensions': 'off',
76
- 'import/no-unresolved': 'off',
77
- 'import/no-extraneous-dependencies': 'off',
78
- <% } else if (lintConfig === 'airbnb') { %>
79
- 'no-plusplus': 'off',
80
- 'no-param-reassign': 'off',
81
- 'no-void': 'off',
82
- 'no-nested-ternary': 'off',
83
- 'max-classes-per-file': 'off',
84
-
85
- 'import/first': 'off',
86
- 'import/named': 'error',
87
- 'import/namespace': 'error',
88
- 'import/default': 'error',
89
- 'import/export': 'error',
90
- 'import/extensions': 'off',
91
- 'import/no-unresolved': 'off',
92
- 'import/no-extraneous-dependencies': 'off',
93
- 'import/prefer-default-export': 'off',
94
- <% } %>
95
- 'prefer-promise-reject-errors': 'off',
96
-
97
- // allow debugger during development only
98
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
99
- }
100
- }
@@ -1,15 +0,0 @@
1
- import { defineStore } from 'pinia';
2
-
3
- export const useCounterStore = defineStore('counter', {
4
- state: () => ({
5
- counter: 0,
6
- }),
7
- getters: {
8
- doubleCount: (state) => state.counter * 2,
9
- },
10
- actions: {
11
- increment() {
12
- this.counter++;
13
- },
14
- },
15
- });
@@ -1,20 +0,0 @@
1
- import { store } from 'quasar/wrappers'
2
- import { createPinia } from 'pinia'
3
-
4
- /*
5
- * If not building with SSR mode, you can
6
- * directly export the Store instantiation;
7
- *
8
- * The function below can be async too; either use
9
- * async/await or return a Promise which resolves
10
- * with the Store instance.
11
- */
12
-
13
- export default store((/* { ssrContext } */) => {
14
- const pinia = createPinia()
15
-
16
- // You can add Pinia plugins here
17
- // pinia.use(SomePiniaPlugin)
18
-
19
- return pinia
20
- })
@@ -1,13 +0,0 @@
1
- /*
2
- WARNING: DO NOT MODIFY OR DELETE
3
- This file is auto-generated by Quasar CLI
4
- It's recommended to NOT .gitignore it
5
- You don't have to use TypeScript in your project, don't worry
6
- */
7
- import "quasar/dist/types/feature-flag.d.ts";
8
-
9
- declare module "quasar/dist/types/feature-flag.d.ts" {
10
- interface QuasarFeatureFlags {
11
- store: true;
12
- }
13
- }
@@ -1 +0,0 @@
1
- // app global css in Sass form
@@ -1,25 +0,0 @@
1
- // Quasar Sass (& SCSS) Variables
2
- // --------------------------------------------------
3
- // To customize the look and feel of this app, you can override
4
- // the Sass/SCSS variables found in Quasar's source Sass/SCSS files.
5
-
6
- // Check documentation for full list of Quasar variables
7
-
8
- // Your own variables (that are declared here) and Quasar's own
9
- // ones will be available out of the box in your .vue/.scss/.sass files
10
-
11
- // It's highly recommended to change the default colors
12
- // to match your app's branding.
13
- // Tip: Use the "Theme Builder" on Quasar's documentation website.
14
-
15
- $primary : #1976D2
16
- $secondary : #26A69A
17
- $accent : #9C27B0
18
-
19
- $dark : #1D1D1D
20
- $dark-page : #121212
21
-
22
- $positive : #21BA45
23
- $negative : #C10015
24
- $info : #31CCEC
25
- $warning : #F2C037
@@ -1 +0,0 @@
1
- // app global css in SCSS form
@@ -1,25 +0,0 @@
1
- // Quasar SCSS (& Sass) Variables
2
- // --------------------------------------------------
3
- // To customize the look and feel of this app, you can override
4
- // the Sass/SCSS variables found in Quasar's source Sass/SCSS files.
5
-
6
- // Check documentation for full list of Quasar variables
7
-
8
- // Your own variables (that are declared here) and Quasar's own
9
- // ones will be available out of the box in your .vue/.scss/.sass files
10
-
11
- // It's highly recommended to change the default colors
12
- // to match your app's branding.
13
- // Tip: Use the "Theme Builder" on Quasar's documentation website.
14
-
15
- $primary : #1976D2;
16
- $secondary : #26A69A;
17
- $accent : #9C27B0;
18
-
19
- $dark : #1D1D1D;
20
- $dark-page : #121212;
21
-
22
- $positive : #21BA45;
23
- $negative : #C10015;
24
- $info : #31CCEC;
25
- $warning : #F2C037;