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,134 +0,0 @@
1
-
2
- module.exports = {
3
- // https://eslint.org/docs/user-guide/configuring#configuration-cascading-and-hierarchy
4
- // This option interrupts the configuration hierarchy at this file
5
- // Remove this if you have an higher level ESLint config file (it usually happens into a monorepos)
6
- root: true,
7
-
8
- // https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
9
- // Must use parserOptions instead of "parser" to allow vue-eslint-parser to keep working
10
- // `parser: 'vue-eslint-parser'` is already included with any 'plugin:vue/**' config and should be omitted
11
- parserOptions: {
12
- parser: require.resolve('@typescript-eslint/parser'),
13
- extraFileExtensions: [ '.vue' ]
14
- },
15
-
16
- env: {
17
- browser: true,
18
- es2021: true,
19
- node: true
20
- },
21
-
22
- // Rules order is important, please avoid shuffling them
23
- extends: [
24
- // Base ESLint recommended rules
25
- // 'eslint:recommended',
26
-
27
- // https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#usage
28
- // ESLint typescript rules
29
- 'plugin:@typescript-eslint/recommended',
30
-
31
- // Uncomment any of the lines below to choose desired strictness,
32
- // but leave only one uncommented!
33
- // See https://eslint.vuejs.org/rules/#available-rules
34
- 'plugin:vue/vue3-essential', // Priority A: Essential (Error Prevention)
35
- // 'plugin:vue/vue3-strongly-recommended', // Priority B: Strongly Recommended (Improving Readability)
36
- // 'plugin:vue/vue3-recommended', // Priority C: Recommended (Minimizing Arbitrary Choices and Cognitive Overhead)
37
-
38
- <% if (lintConfig === 'standard') { %>'standard'
39
- <% } else if (lintConfig === 'airbnb') { %>'airbnb-base'
40
- <% } else if (lintConfig === 'prettier') { %>// https://github.com/prettier/eslint-config-prettier#installation
41
- // usage with Prettier, provided by 'eslint-config-prettier'.
42
- 'prettier'<% } %>
43
- ],
44
-
45
- plugins: [
46
- // required to apply rules which need type information
47
- '@typescript-eslint',
48
-
49
- // https://eslint.vuejs.org/user-guide/#why-doesn-t-it-work-on-vue-files
50
- // required to lint *.vue files
51
- 'vue'
52
- <% if (lintConfig === 'prettier') { %>
53
- // https://github.com/typescript-eslint/typescript-eslint/issues/389#issuecomment-509292674
54
- // Prettier has not been included as plugin to avoid performance impact
55
- // add it as an extension for your IDE
56
- <% } %>
57
- ],
58
-
59
- globals: {
60
- ga: 'readonly', // Google Analytics
61
- cordova: 'readonly',
62
- __statics: 'readonly',
63
- __QUASAR_SSR__: 'readonly',
64
- __QUASAR_SSR_SERVER__: 'readonly',
65
- __QUASAR_SSR_CLIENT__: 'readonly',
66
- __QUASAR_SSR_PWA__: 'readonly',
67
- process: 'readonly',
68
- Capacitor: 'readonly',
69
- chrome: 'readonly',
70
- },
71
-
72
- // add your custom rules here
73
- rules: {
74
- <% if (lintConfig === 'standard') { %>
75
- // allow async-await
76
- 'generator-star-spacing': 'off',
77
- // allow paren-less arrow functions
78
- 'arrow-parens': 'off',
79
- 'one-var': 'off',
80
- 'no-void': 'off',
81
- 'multiline-ternary': 'off',
82
-
83
- 'import/first': 'off',
84
- 'import/namespace': 'error',
85
- 'import/default': 'error',
86
- 'import/export': 'error',
87
- 'import/extensions': 'off',
88
- 'import/no-unresolved': 'off',
89
- 'import/no-extraneous-dependencies': 'off',
90
-
91
- // The core 'import/named' rules
92
- // does not work with type definitions
93
- 'import/named': 'off',
94
- <% } else if (lintConfig === 'airbnb') { %>
95
- 'no-plusplus': 'off',
96
- 'no-param-reassign': 'off',
97
- 'no-void': 'off',
98
- 'no-nested-ternary': 'off',
99
- 'max-classes-per-file': 'off',
100
-
101
- 'no-shadow': 'off',
102
- '@typescript-eslint/no-shadow': 'error',
103
-
104
- 'import/first': 'off',
105
- 'import/namespace': 'error',
106
- 'import/default': 'error',
107
- 'import/export': 'error',
108
- 'import/extensions': 'off',
109
- 'import/no-unresolved': 'off',
110
- 'import/no-extraneous-dependencies': 'off',
111
- 'import/prefer-default-export': 'off',
112
-
113
- // The core 'import/named' rules
114
- // does not work with type definitions
115
- 'import/named': 'off',
116
- <% } %>
117
- 'prefer-promise-reject-errors': 'off',
118
-
119
- quotes: ['warn', 'single', { avoidEscape: true }],
120
-
121
- // this rule, if on, would require explicit return type on the `render` function
122
- '@typescript-eslint/explicit-function-return-type': 'off',
123
-
124
- // in plain CommonJS modules, you can't use `import foo = require('foo')` to pass this rule, so it has to be disabled
125
- '@typescript-eslint/no-var-requires': 'off',
126
-
127
- // The core 'no-unused-vars' rules (in the eslint:recommended ruleset)
128
- // does not work with type definitions
129
- 'no-unused-vars': 'off',
130
-
131
- // allow debugger during development only
132
- 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
133
- }
134
- }
@@ -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,32 +0,0 @@
1
- import { store } from 'quasar/wrappers'
2
- import { createPinia } from 'pinia'
3
- import { Router } from 'vue-router';
4
-
5
- /*
6
- * When adding new properties to stores, you should also
7
- * extend the `PiniaCustomProperties` interface.
8
- * @see https://pinia.vuejs.org/core-concepts/plugins.html#typing-new-store-properties
9
- */
10
- declare module 'pinia' {
11
- export interface PiniaCustomProperties {
12
- readonly router: Router;
13
- }
14
- }
15
-
16
- /*
17
- * If not building with SSR mode, you can
18
- * directly export the Store instantiation;
19
- *
20
- * The function below can be async too; either use
21
- * async/await or return a Promise which resolves
22
- * with the Store instance.
23
- */
24
-
25
- export default store((/* { ssrContext } */) => {
26
- const pinia = createPinia()
27
-
28
- // You can add Pinia plugins here
29
- // pinia.use(SomePiniaPlugin)
30
-
31
- return pinia
32
- })
@@ -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,4 +0,0 @@
1
- {
2
- "singleQuote": true,
3
- "semi": true
4
- }
@@ -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;
@@ -1,63 +0,0 @@
1
- import { store } from 'quasar/wrappers'
2
- import { InjectionKey } from 'vue'
3
- import { Router } from 'vue-router'
4
- import {
5
- createStore,
6
- Store as VuexStore,
7
- useStore as vuexUseStore,
8
- } from 'vuex'
9
-
10
- // import example from './module-example'
11
- // import { ExampleStateInterface } from './module-example/state';
12
-
13
- /*
14
- * If not building with SSR mode, you can
15
- * directly export the Store instantiation;
16
- *
17
- * The function below can be async too; either use
18
- * async/await or return a Promise which resolves
19
- * with the Store instance.
20
- */
21
-
22
- export interface StateInterface {
23
- // Define your own store structure, using submodules if needed
24
- // example: ExampleStateInterface;
25
- // Declared as unknown to avoid linting issue. Best to strongly type as per the line above.
26
- example: unknown
27
- }
28
-
29
- // provide typings for `this.$store`
30
- declare module 'vue' {
31
- interface ComponentCustomProperties {
32
- $store: VuexStore<StateInterface>
33
- }
34
- }
35
-
36
- // provide typings for `useStore` helper
37
- export const storeKey: InjectionKey<VuexStore<StateInterface>> = Symbol('vuex-key')
38
-
39
- // Provide typings for `this.$router` inside Vuex stores
40
- declare module "vuex" {
41
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
42
- export interface Store<S> {
43
- readonly $router: Router;
44
- }
45
- }
46
-
47
- export default store(function (/* { ssrContext } */) {
48
- const Store = createStore<StateInterface>({
49
- modules: {
50
- // example
51
- },
52
-
53
- // enable strict mode (adds overhead!)
54
- // for dev mode and --debug builds only
55
- strict: !!process.env.DEBUGGING
56
- })
57
-
58
- return Store;
59
- })
60
-
61
- export function useStore() {
62
- return vuexUseStore(storeKey)
63
- }
@@ -1,11 +0,0 @@
1
- import { ActionTree } from 'vuex';
2
- import { StateInterface } from '../index';
3
- import { ExampleStateInterface } from './state';
4
-
5
- const actions: ActionTree<ExampleStateInterface, StateInterface> = {
6
- someAction (/* context */) {
7
- // your code
8
- }
9
- };
10
-
11
- export default actions;
@@ -1,11 +0,0 @@
1
- import { GetterTree } from 'vuex';
2
- import { StateInterface } from '../index';
3
- import { ExampleStateInterface } from './state';
4
-
5
- const getters: GetterTree<ExampleStateInterface, StateInterface> = {
6
- someAction (/* context */) {
7
- // your code
8
- }
9
- };
10
-
11
- export default getters;
@@ -1,16 +0,0 @@
1
- import { Module } from 'vuex';
2
- import { StateInterface } from '../index';
3
- import state, { ExampleStateInterface } from './state';
4
- import actions from './actions';
5
- import getters from './getters';
6
- import mutations from './mutations';
7
-
8
- const exampleModule: Module<ExampleStateInterface, StateInterface> = {
9
- namespaced: true,
10
- actions,
11
- getters,
12
- mutations,
13
- state
14
- };
15
-
16
- export default exampleModule;
@@ -1,10 +0,0 @@
1
- import { MutationTree } from 'vuex';
2
- import { ExampleStateInterface } from './state';
3
-
4
- const mutation: MutationTree<ExampleStateInterface> = {
5
- someMutation (/* state: ExampleStateInterface */) {
6
- // your code
7
- }
8
- };
9
-
10
- export default mutation;
@@ -1,11 +0,0 @@
1
- export interface ExampleStateInterface {
2
- prop: boolean;
3
- }
4
-
5
- function state(): ExampleStateInterface {
6
- return {
7
- prop: false
8
- }
9
- }
10
-
11
- export default state;
@@ -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,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) <%= author %>
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in
13
- all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
- THE SOFTWARE.
@@ -1,16 +0,0 @@
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 %>"><% } %>
3
-
4
- Compatible with Quasar UI v1 and Vue 2.
5
-
6
- # Structure
7
- * [/ui](ui) - standalone npm package
8
- <% if (features.ae) { %>
9
- * [/app-extension](app-extension) - Quasar app extension
10
- <% } %>
11
-
12
- # Donate
13
- If you appreciate the work that went into this project, please consider [donating to Quasar](https://donate.quasar.dev).
14
-
15
- # License
16
- <%= license %> (c) <%= author %>
@@ -1,16 +0,0 @@
1
- .DS_Store
2
- .thumbs.db
3
- node_modules
4
- dist
5
- yarn.lock
6
- npm-debug.log*
7
- yarn-debug.log*
8
- yarn-error.log*
9
-
10
- # Editor directories and files
11
- .idea
12
- .vscode
13
- *.suo
14
- *.ntvs*
15
- *.njsproj
16
- *.sln
@@ -1,9 +0,0 @@
1
-
2
- {
3
- "compilerOptions": {
4
- "baseUrl": ".",
5
- "paths": {
6
- "ui/*": ["src/*"]
7
- }
8
- }
9
- }
@@ -1,156 +0,0 @@
1
- # <% if (features.component) { %>Component <%= componentName %><% if (features.directive) { %> and <% } } %><% if (features.directive) { %>Directive v-<%= directiveName %><% } %>
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 %>)
5
-
6
- **Compatible with Quasar UI v1 and Vue 2**.
7
-
8
- <% if (features.component) { %>
9
- # Component <%= componentName %>
10
- > Short description of the component
11
- <% } %>
12
-
13
- <% if (features.directive) { %>
14
- # Directive v-<%= directiveName %>
15
- > Short description of the directive
16
- <% } %>
17
-
18
- # Usage
19
-
20
- ## Quasar CLI project
21
- <% if (features.ae) { %>
22
-
23
- Install the [App Extension](../app-extension).
24
-
25
- **OR**:
26
-
27
- <% } %>
28
- Create and register a boot file:
29
-
30
- ```js
31
- import Vue from 'vue'
32
- import Plugin from 'quasar-ui-<%= name %>'
33
- import 'quasar-ui-<%= name %>/dist/index.css'
34
-
35
- Vue.use(Plugin)
36
- ```
37
-
38
- **OR**:
39
-
40
- ```html
41
- <style src="quasar-ui-<%= name %>/dist/index.css"></style>
42
-
43
- <script>
44
- import { <% if (features.component) { %>Component as <%= componentName %><% if (features.directive) { %>, <% } %><% } %><% if (features.directive) { %>Directive<% } %> } from 'quasar-ui-<%= name %>'
45
-
46
- export default {
47
- <% if (features.component) { %>
48
- components: {
49
- <%= componentName %>
50
- }<% if (features.directive) { %>,<% } %>
51
- <% } %>
52
- <% if (features.directive) { %>
53
- directives: {
54
- Directive
55
- }
56
- <% } %>
57
- }
58
- </script>
59
- ```
60
-
61
- ## Vue CLI project
62
-
63
- ```js
64
- import Vue from 'vue'
65
- import Plugin from 'quasar-ui-<%= name %>'
66
- import 'quasar-ui-<%= name %>/dist/index.css'
67
-
68
- Vue.use(Plugin)
69
- ```
70
-
71
- **OR**:
72
-
73
- ```html
74
- <style src="quasar-ui-<%= name %>/dist/index.css"></style>
75
-
76
- <script>
77
- import { <% if (features.component) { %>Component as <%= componentName %><% if (features.directive) { %>, <% } %><% } %><% if (features.directive) { %>Directive<% } %> } from 'quasar-ui-<%= name %>'
78
-
79
- export default {
80
- <% if (features.component) { %>
81
- components: {
82
- <%= componentName %>
83
- }<% if (features.directive) { %>,<% } %>
84
- <% } %>
85
- <% if (features.directive) { %>
86
- directives: {
87
- Directive
88
- }
89
- <% } %>
90
- }
91
- </script>
92
- ```
93
-
94
- ## UMD variant
95
-
96
- Exports `window.<%= umdExportName %>`.
97
-
98
- Add the following tag(s) after the Quasar ones:
99
-
100
- ```html
101
- <head>
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">
104
- </head>
105
- <body>
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>
108
- </body>
109
- ```
110
- If you need the RTL variant of the CSS, then go for the following (instead of the above stylesheet link):
111
- ```html
112
- <link href="https://cdn.jsdelivr.net/npm/quasar-ui-<%= name %>/dist/index.rtl.min.css" rel="stylesheet" type="text/css">
113
- ```
114
-
115
- # Setup
116
- ```bash
117
- $ yarn
118
- ```
119
-
120
- # Developing
121
- ```bash
122
- # start dev in SPA mode
123
- $ yarn dev
124
-
125
- # start dev in UMD mode
126
- $ yarn dev:umd
127
-
128
- # start dev in SSR mode
129
- $ yarn dev:ssr
130
-
131
- # start dev in Cordova iOS mode
132
- $ yarn dev:ios
133
-
134
- # start dev in Cordova Android mode
135
- $ yarn dev:android
136
-
137
- # start dev in Electron mode
138
- $ yarn dev:electron
139
- ```
140
-
141
- # Building package
142
- ```bash
143
- $ yarn build
144
- ```
145
-
146
- # Adding Testing Components
147
- in the `ui/dev/src/pages` you can add Vue files to test your component/directive. When using `yarn dev` to build the UI, any pages in that location will automatically be picked up by dynamic routing and added to the test page.
148
-
149
- # Adding Assets
150
- If you have a component that has assets, like language or icon-sets, you will need to provide these for UMD. In the `ui/build/script.javascript.js` file, you will find a couple of commented out commands that call `addAssets`. Uncomment what you need and add your assets to have them be built and put into the `ui/dist` folder.
151
-
152
- # Donate
153
- If you appreciate the work that went into this, please consider [donating to Quasar](https://donate.quasar.dev).
154
-
155
- # License
156
- <%= license %> (c) <%= author %>
@@ -1,21 +0,0 @@
1
- /build
2
- /dev
3
- umd-test.html
4
-
5
- .DS_Store
6
- .thumbs.db
7
- yarn.lock
8
- npm-debug.log*
9
- yarn-debug.log*
10
- yarn-error.log*
11
-
12
- # Editor directories and files
13
- .idea
14
- .vscode
15
- *.suo
16
- *.ntvs*
17
- *.njsproj
18
- *.sln
19
- .editorconfig
20
- .eslintignore
21
- .eslintrc.js