create-quasar 1.0.0 → 1.0.3
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.
- package/index.js +1 -0
- package/package.json +1 -1
- package/templates/app/quasar-v1/js/BASE/quasar.conf.js +1 -1
- package/templates/app/quasar-v1/ts/BASE/quasar.conf.js +1 -1
- package/templates/app/quasar-v2/js-vite/BASE/README.md +1 -1
- package/templates/app/quasar-v2/js-vite/BASE/quasar.config.js +25 -21
- package/templates/app/quasar-v2/js-webpack/BASE/README.md +1 -1
- package/templates/app/quasar-v2/js-webpack/BASE/quasar.config.js +15 -15
- package/templates/app/quasar-v2/ts-vite/BASE/README.md +1 -1
- package/templates/app/quasar-v2/ts-vite/BASE/quasar.config.js +25 -21
- package/templates/app/quasar-v2/ts-webpack/BASE/README.md +1 -1
- package/templates/app/quasar-v2/ts-webpack/BASE/quasar.config.js +15 -15
- package/utils/index.js +1 -1
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// Configuration for your app
|
|
9
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
9
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
|
|
10
10
|
|
|
11
11
|
<% if (preset.lint && lintConfig === 'airbnb') { %>/* eslint func-names: 0 */
|
|
12
12
|
/* eslint global-require: 0 */<% } %>
|
|
@@ -23,18 +23,18 @@ module.exports = configure(function (/* ctx */) {
|
|
|
23
23
|
errors: true
|
|
24
24
|
},<% } %>
|
|
25
25
|
|
|
26
|
-
// https://quasar.dev/quasar-cli/prefetch-feature
|
|
26
|
+
// https://v2.quasar.dev/quasar-cli/prefetch-feature
|
|
27
27
|
// preFetch: true,
|
|
28
28
|
|
|
29
29
|
// app boot file (/src/boot)
|
|
30
30
|
// --> boot files are part of "main.js"
|
|
31
|
-
// https://quasar.dev/quasar-cli/boot-files
|
|
31
|
+
// https://v2.quasar.dev/quasar-cli/boot-files
|
|
32
32
|
boot: [
|
|
33
33
|
<% if (preset.i18n) { %>'i18n',<% } %>
|
|
34
34
|
<% if (preset.axios) { %>'axios',<% } %>
|
|
35
35
|
],
|
|
36
36
|
|
|
37
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
37
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#css
|
|
38
38
|
css: [
|
|
39
39
|
'app.<%= css %>'
|
|
40
40
|
],
|
|
@@ -43,7 +43,7 @@ module.exports = configure(function (/* ctx */) {
|
|
|
43
43
|
extras: [
|
|
44
44
|
// 'ionicons-v4',
|
|
45
45
|
// 'mdi-v5',
|
|
46
|
-
// 'fontawesome-
|
|
46
|
+
// 'fontawesome-v6',
|
|
47
47
|
// 'eva-icons',
|
|
48
48
|
// 'themify',
|
|
49
49
|
// 'line-awesome',
|
|
@@ -53,7 +53,7 @@ module.exports = configure(function (/* ctx */) {
|
|
|
53
53
|
'material-icons', // optional, you are not bound to it
|
|
54
54
|
],
|
|
55
55
|
|
|
56
|
-
// Full list of options: https://quasar.dev/quasar-cli/quasar-
|
|
56
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#build
|
|
57
57
|
build: {
|
|
58
58
|
target: {
|
|
59
59
|
browser: [ 'es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1' ],
|
|
@@ -73,6 +73,8 @@ module.exports = configure(function (/* ctx */) {
|
|
|
73
73
|
// rawDefine: {}
|
|
74
74
|
// ignorePublicFolder: true,
|
|
75
75
|
// minify: false,
|
|
76
|
+
// polyfillModulePreload: true,
|
|
77
|
+
// distDir
|
|
76
78
|
|
|
77
79
|
// extendViteConf (viteConf) {},
|
|
78
80
|
// viteVuePluginOptions: {},
|
|
@@ -85,13 +87,13 @@ module.exports = configure(function (/* ctx */) {
|
|
|
85
87
|
// ]<% } %>
|
|
86
88
|
},
|
|
87
89
|
|
|
88
|
-
// Full list of options: https://quasar.dev/quasar-cli/quasar-
|
|
90
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#devServer
|
|
89
91
|
devServer: {
|
|
90
92
|
// https: true
|
|
91
93
|
open: true // opens browser window automatically
|
|
92
94
|
},
|
|
93
95
|
|
|
94
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
96
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#framework
|
|
95
97
|
framework: {
|
|
96
98
|
config: {},
|
|
97
99
|
|
|
@@ -110,10 +112,10 @@ module.exports = configure(function (/* ctx */) {
|
|
|
110
112
|
},
|
|
111
113
|
|
|
112
114
|
// animations: 'all', // --- includes all animations
|
|
113
|
-
// https://quasar.dev/options/animations
|
|
115
|
+
// https://v2.quasar.dev/options/animations
|
|
114
116
|
animations: [],
|
|
115
117
|
|
|
116
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
118
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#property-sourcefiles
|
|
117
119
|
// sourceFiles: {
|
|
118
120
|
// rootComponent: 'src/App.vue',
|
|
119
121
|
// router: 'src/router/index',
|
|
@@ -125,12 +127,13 @@ module.exports = configure(function (/* ctx */) {
|
|
|
125
127
|
// electronPreload: 'src-electron/electron-preload'
|
|
126
128
|
// },
|
|
127
129
|
|
|
128
|
-
// https://quasar.dev/quasar-cli/developing-ssr/configuring-ssr
|
|
130
|
+
// https://v2.quasar.dev/quasar-cli/developing-ssr/configuring-ssr
|
|
129
131
|
ssr: {
|
|
130
132
|
// ssrPwaHtmlFilename: 'offline.html', // do NOT use index.html as name!
|
|
131
133
|
// will mess up SSR
|
|
132
134
|
|
|
133
|
-
// extendSSRWebserverConf (
|
|
135
|
+
// extendSSRWebserverConf (esbuildConf) {},
|
|
136
|
+
// extendPackageJson (json) {},
|
|
134
137
|
|
|
135
138
|
pwa: false,
|
|
136
139
|
|
|
@@ -145,7 +148,7 @@ module.exports = configure(function (/* ctx */) {
|
|
|
145
148
|
]
|
|
146
149
|
},
|
|
147
150
|
|
|
148
|
-
// https://quasar.dev/quasar-cli/developing-pwa/configuring-pwa
|
|
151
|
+
// https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
|
|
149
152
|
pwa: {
|
|
150
153
|
workboxMode: 'generateSW', // or 'injectManifest'
|
|
151
154
|
injectPwaMetaTags: true,
|
|
@@ -154,24 +157,24 @@ module.exports = configure(function (/* ctx */) {
|
|
|
154
157
|
useCredentialsForManifestTag: false,
|
|
155
158
|
// extendGenerateSWOptions (cfg) {}
|
|
156
159
|
// extendInjectManifestOptions (cfg) {},
|
|
157
|
-
// extendManifestJson (
|
|
158
|
-
// extendPWACustomSWConf (
|
|
160
|
+
// extendManifestJson (json) {}
|
|
161
|
+
// extendPWACustomSWConf (esbuildConf) {}
|
|
159
162
|
},
|
|
160
163
|
|
|
161
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
|
|
164
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
|
|
162
165
|
cordova: {
|
|
163
166
|
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
|
|
164
167
|
},
|
|
165
168
|
|
|
166
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
|
|
169
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
|
|
167
170
|
capacitor: {
|
|
168
171
|
hideSplashscreen: true
|
|
169
172
|
},
|
|
170
173
|
|
|
171
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
|
|
174
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
|
|
172
175
|
electron: {
|
|
173
|
-
// extendElectronMainConf (
|
|
174
|
-
// extendElectronPreloadConf (
|
|
176
|
+
// extendElectronMainConf (esbuildConf)
|
|
177
|
+
// extendElectronPreloadConf (esbuildConf)
|
|
175
178
|
|
|
176
179
|
inspectPort: 5858,
|
|
177
180
|
|
|
@@ -197,12 +200,13 @@ module.exports = configure(function (/* ctx */) {
|
|
|
197
200
|
}
|
|
198
201
|
},
|
|
199
202
|
|
|
203
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-browser-extensions/configuring-bex
|
|
200
204
|
bex: {
|
|
201
205
|
contentScripts: [
|
|
202
206
|
'my-content-script'
|
|
203
207
|
],
|
|
204
208
|
|
|
205
|
-
// extendBexScriptsConf (
|
|
209
|
+
// extendBexScriptsConf (esbuildConf) {}
|
|
206
210
|
// extendBexManifestJson (json) {}
|
|
207
211
|
}
|
|
208
212
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// Configuration for your app
|
|
9
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
9
|
+
// https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js
|
|
10
10
|
|
|
11
11
|
<% if (preset.lint) { %>
|
|
12
12
|
const ESLintPlugin = require('eslint-webpack-plugin')
|
|
@@ -19,21 +19,21 @@ const { configure } = require('quasar/wrappers');
|
|
|
19
19
|
|
|
20
20
|
module.exports = configure(function (ctx) {
|
|
21
21
|
return {
|
|
22
|
-
// https://quasar.dev/quasar-cli/supporting-ts
|
|
22
|
+
// https://v2.quasar.dev/quasar-cli-webpack/supporting-ts
|
|
23
23
|
supportTS: false,
|
|
24
24
|
|
|
25
|
-
// https://quasar.dev/quasar-cli/prefetch-feature
|
|
25
|
+
// https://v2.quasar.dev/quasar-cli-webpack/prefetch-feature
|
|
26
26
|
// preFetch: true,
|
|
27
27
|
|
|
28
28
|
// app boot file (/src/boot)
|
|
29
29
|
// --> boot files are part of "main.js"
|
|
30
|
-
// https://quasar.dev/quasar-cli/boot-files
|
|
30
|
+
// https://v2.quasar.dev/quasar-cli-webpack/boot-files
|
|
31
31
|
boot: [
|
|
32
32
|
<% if (preset.i18n) { %>'i18n',<% } %>
|
|
33
33
|
<% if (preset.axios) { %>'axios',<% } %>
|
|
34
34
|
],
|
|
35
35
|
|
|
36
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
36
|
+
// https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-css
|
|
37
37
|
css: [
|
|
38
38
|
'app.<%= css %>'
|
|
39
39
|
],
|
|
@@ -42,7 +42,7 @@ module.exports = configure(function (ctx) {
|
|
|
42
42
|
extras: [
|
|
43
43
|
// 'ionicons-v4',
|
|
44
44
|
// 'mdi-v5',
|
|
45
|
-
// 'fontawesome-
|
|
45
|
+
// 'fontawesome-v6',
|
|
46
46
|
// 'eva-icons',
|
|
47
47
|
// 'themify',
|
|
48
48
|
// 'line-awesome',
|
|
@@ -52,7 +52,7 @@ module.exports = configure(function (ctx) {
|
|
|
52
52
|
'material-icons', // optional, you are not bound to it
|
|
53
53
|
],
|
|
54
54
|
|
|
55
|
-
// Full list of options: https://quasar.dev/quasar-cli/quasar-
|
|
55
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-build
|
|
56
56
|
build: {
|
|
57
57
|
vueRouterMode: 'hash', // available values: 'hash', 'history'
|
|
58
58
|
|
|
@@ -73,7 +73,7 @@ module.exports = configure(function (ctx) {
|
|
|
73
73
|
// Options below are automatically set depending on the env, set them if you want to override
|
|
74
74
|
// extractCSS: false,
|
|
75
75
|
|
|
76
|
-
// https://quasar.dev/quasar-cli/handling-webpack
|
|
76
|
+
// https://v2.quasar.dev/quasar-cli-webpack/handling-webpack
|
|
77
77
|
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
|
78
78
|
<% if (preset.lint) { %>
|
|
79
79
|
chainWebpack (chain) {
|
|
@@ -85,7 +85,7 @@ module.exports = configure(function (ctx) {
|
|
|
85
85
|
<% } %>
|
|
86
86
|
},
|
|
87
87
|
|
|
88
|
-
// Full list of options: https://quasar.dev/quasar-cli/quasar-
|
|
88
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-devServer
|
|
89
89
|
devServer: {
|
|
90
90
|
server: {
|
|
91
91
|
type: 'http'
|
|
@@ -94,7 +94,7 @@ module.exports = configure(function (ctx) {
|
|
|
94
94
|
open: true // opens browser window automatically
|
|
95
95
|
},
|
|
96
96
|
|
|
97
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
97
|
+
// https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-framework
|
|
98
98
|
framework: {
|
|
99
99
|
config: {},
|
|
100
100
|
|
|
@@ -116,7 +116,7 @@ module.exports = configure(function (ctx) {
|
|
|
116
116
|
// https://quasar.dev/options/animations
|
|
117
117
|
animations: [],
|
|
118
118
|
|
|
119
|
-
// https://quasar.dev/quasar-cli/developing-ssr/configuring-ssr
|
|
119
|
+
// https://v2.quasar.dev/quasar-cli-webpack/developing-ssr/configuring-ssr
|
|
120
120
|
ssr: {
|
|
121
121
|
pwa: false,
|
|
122
122
|
|
|
@@ -144,7 +144,7 @@ module.exports = configure(function (ctx) {
|
|
|
144
144
|
]
|
|
145
145
|
},
|
|
146
146
|
|
|
147
|
-
// https://quasar.dev/quasar-cli/developing-pwa/configuring-pwa
|
|
147
|
+
// https://v2.quasar.dev/quasar-cli-webpack/developing-pwa/configuring-pwa
|
|
148
148
|
pwa: {
|
|
149
149
|
workboxPluginMode: 'GenerateSW', // 'GenerateSW' or 'InjectManifest'
|
|
150
150
|
workboxOptions: {}, // only for GenerateSW
|
|
@@ -198,17 +198,17 @@ module.exports = configure(function (ctx) {
|
|
|
198
198
|
}
|
|
199
199
|
},
|
|
200
200
|
|
|
201
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
|
|
201
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-cordova-apps/configuring-cordova
|
|
202
202
|
cordova: {
|
|
203
203
|
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
|
|
204
204
|
},
|
|
205
205
|
|
|
206
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
|
|
206
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-capacitor-apps/configuring-capacitor
|
|
207
207
|
capacitor: {
|
|
208
208
|
hideSplashscreen: true
|
|
209
209
|
},
|
|
210
210
|
|
|
211
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
|
|
211
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-electron-apps/configuring-electron
|
|
212
212
|
electron: {
|
|
213
213
|
bundler: 'packager', // 'packager' or 'builder'
|
|
214
214
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// Configuration for your app
|
|
9
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
9
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js
|
|
10
10
|
|
|
11
11
|
<% if (preset.lint && lintConfig === 'airbnb') { %>/* eslint func-names: 0 */
|
|
12
12
|
/* eslint global-require: 0 */
|
|
@@ -24,18 +24,18 @@ module.exports = configure(function (/* ctx */) {
|
|
|
24
24
|
errors: true
|
|
25
25
|
},<% } %>
|
|
26
26
|
|
|
27
|
-
// https://quasar.dev/quasar-cli/prefetch-feature
|
|
27
|
+
// https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
|
|
28
28
|
// preFetch: true,
|
|
29
29
|
|
|
30
30
|
// app boot file (/src/boot)
|
|
31
31
|
// --> boot files are part of "main.js"
|
|
32
|
-
// https://quasar.dev/quasar-cli/boot-files
|
|
32
|
+
// https://v2.quasar.dev/quasar-cli-vite/boot-files
|
|
33
33
|
boot: [
|
|
34
34
|
<% if (preset.i18n) { %>'i18n',<% } %>
|
|
35
35
|
<% if (preset.axios) { %>'axios',<% } %>
|
|
36
36
|
],
|
|
37
37
|
|
|
38
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
38
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#css
|
|
39
39
|
css: [
|
|
40
40
|
'app.<%= css %>'
|
|
41
41
|
],
|
|
@@ -44,7 +44,7 @@ module.exports = configure(function (/* ctx */) {
|
|
|
44
44
|
extras: [
|
|
45
45
|
// 'ionicons-v4',
|
|
46
46
|
// 'mdi-v5',
|
|
47
|
-
// 'fontawesome-
|
|
47
|
+
// 'fontawesome-v6',
|
|
48
48
|
// 'eva-icons',
|
|
49
49
|
// 'themify',
|
|
50
50
|
// 'line-awesome',
|
|
@@ -54,7 +54,7 @@ module.exports = configure(function (/* ctx */) {
|
|
|
54
54
|
'material-icons', // optional, you are not bound to it
|
|
55
55
|
],
|
|
56
56
|
|
|
57
|
-
// Full list of options: https://quasar.dev/quasar-cli/quasar-
|
|
57
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#build
|
|
58
58
|
build: {
|
|
59
59
|
target: {
|
|
60
60
|
browser: [ 'es2019', 'edge88', 'firefox78', 'chrome87', 'safari13.1' ],
|
|
@@ -74,6 +74,8 @@ module.exports = configure(function (/* ctx */) {
|
|
|
74
74
|
// rawDefine: {}
|
|
75
75
|
// ignorePublicFolder: true,
|
|
76
76
|
// minify: false,
|
|
77
|
+
// polyfillModulePreload: true,
|
|
78
|
+
// distDir
|
|
77
79
|
|
|
78
80
|
// extendViteConf (viteConf) {},
|
|
79
81
|
// viteVuePluginOptions: {},
|
|
@@ -86,13 +88,13 @@ module.exports = configure(function (/* ctx */) {
|
|
|
86
88
|
// ]<% } %>
|
|
87
89
|
},
|
|
88
90
|
|
|
89
|
-
// Full list of options: https://quasar.dev/quasar-cli/quasar-
|
|
91
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#devServer
|
|
90
92
|
devServer: {
|
|
91
93
|
// https: true
|
|
92
94
|
open: true // opens browser window automatically
|
|
93
95
|
},
|
|
94
96
|
|
|
95
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
97
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#framework
|
|
96
98
|
framework: {
|
|
97
99
|
config: {},
|
|
98
100
|
|
|
@@ -111,10 +113,10 @@ module.exports = configure(function (/* ctx */) {
|
|
|
111
113
|
},
|
|
112
114
|
|
|
113
115
|
// animations: 'all', // --- includes all animations
|
|
114
|
-
// https://quasar.dev/options/animations
|
|
116
|
+
// https://v2.quasar.dev/options/animations
|
|
115
117
|
animations: [],
|
|
116
118
|
|
|
117
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
119
|
+
// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#sourcefiles
|
|
118
120
|
// sourceFiles: {
|
|
119
121
|
// rootComponent: 'src/App.vue',
|
|
120
122
|
// router: 'src/router/index',
|
|
@@ -126,12 +128,13 @@ module.exports = configure(function (/* ctx */) {
|
|
|
126
128
|
// electronPreload: 'src-electron/electron-preload'
|
|
127
129
|
// },
|
|
128
130
|
|
|
129
|
-
// https://quasar.dev/quasar-cli/developing-ssr/configuring-ssr
|
|
131
|
+
// https://v2.quasar.dev/quasar-cli-vite/developing-ssr/configuring-ssr
|
|
130
132
|
ssr: {
|
|
131
133
|
// ssrPwaHtmlFilename: 'offline.html', // do NOT use index.html as name!
|
|
132
134
|
// will mess up SSR
|
|
133
135
|
|
|
134
|
-
// extendSSRWebserverConf (
|
|
136
|
+
// extendSSRWebserverConf (esbuildConf) {},
|
|
137
|
+
// extendPackageJson (json) {},
|
|
135
138
|
|
|
136
139
|
pwa: false,
|
|
137
140
|
|
|
@@ -146,7 +149,7 @@ module.exports = configure(function (/* ctx */) {
|
|
|
146
149
|
]
|
|
147
150
|
},
|
|
148
151
|
|
|
149
|
-
// https://quasar.dev/quasar-cli/developing-pwa/configuring-pwa
|
|
152
|
+
// https://v2.quasar.dev/quasar-cli-vite/developing-pwa/configuring-pwa
|
|
150
153
|
pwa: {
|
|
151
154
|
workboxMode: 'generateSW', // or 'injectManifest'
|
|
152
155
|
injectPwaMetaTags: true,
|
|
@@ -155,24 +158,24 @@ module.exports = configure(function (/* ctx */) {
|
|
|
155
158
|
useCredentialsForManifestTag: false,
|
|
156
159
|
// extendGenerateSWOptions (cfg) {}
|
|
157
160
|
// extendInjectManifestOptions (cfg) {},
|
|
158
|
-
// extendManifestJson (
|
|
159
|
-
// extendPWACustomSWConf (
|
|
161
|
+
// extendManifestJson (json) {}
|
|
162
|
+
// extendPWACustomSWConf (esbuildConf) {}
|
|
160
163
|
},
|
|
161
164
|
|
|
162
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
|
|
165
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-cordova-apps/configuring-cordova
|
|
163
166
|
cordova: {
|
|
164
167
|
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
|
|
165
168
|
},
|
|
166
169
|
|
|
167
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
|
|
170
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-capacitor-apps/configuring-capacitor
|
|
168
171
|
capacitor: {
|
|
169
172
|
hideSplashscreen: true
|
|
170
173
|
},
|
|
171
174
|
|
|
172
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
|
|
175
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electron
|
|
173
176
|
electron: {
|
|
174
|
-
// extendElectronMainConf (
|
|
175
|
-
// extendElectronPreloadConf (
|
|
177
|
+
// extendElectronMainConf (esbuildConf)
|
|
178
|
+
// extendElectronPreloadConf (esbuildConf)
|
|
176
179
|
|
|
177
180
|
inspectPort: 5858,
|
|
178
181
|
|
|
@@ -198,12 +201,13 @@ module.exports = configure(function (/* ctx */) {
|
|
|
198
201
|
}
|
|
199
202
|
},
|
|
200
203
|
|
|
204
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-browser-extensions/configuring-bex
|
|
201
205
|
bex: {
|
|
202
206
|
contentScripts: [
|
|
203
207
|
'my-content-script'
|
|
204
208
|
],
|
|
205
209
|
|
|
206
|
-
// extendBexScriptsConf (
|
|
210
|
+
// extendBexScriptsConf (esbuildConf) {}
|
|
207
211
|
// extendBexManifestJson (json) {}
|
|
208
212
|
}
|
|
209
213
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
// Configuration for your app
|
|
9
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
9
|
+
// https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js
|
|
10
10
|
|
|
11
11
|
<% if (preset.lint) { %>
|
|
12
12
|
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
@@ -19,7 +19,7 @@ const { configure } = require('quasar/wrappers');
|
|
|
19
19
|
|
|
20
20
|
module.exports = configure(function (ctx) {
|
|
21
21
|
return {
|
|
22
|
-
// https://quasar.dev/quasar-cli/supporting-ts
|
|
22
|
+
// https://v2.quasar.dev/quasar-cli-webpack/supporting-ts
|
|
23
23
|
supportTS: <% if (preset.lint) { %>{
|
|
24
24
|
tsCheckerConfig: {
|
|
25
25
|
eslint: {
|
|
@@ -29,18 +29,18 @@ module.exports = configure(function (ctx) {
|
|
|
29
29
|
}
|
|
30
30
|
}<% } else { %>true<% } %>,
|
|
31
31
|
|
|
32
|
-
// https://quasar.dev/quasar-cli/prefetch-feature
|
|
32
|
+
// https://v2.quasar.dev/quasar-cli-webpack/prefetch-feature
|
|
33
33
|
// preFetch: true,
|
|
34
34
|
|
|
35
35
|
// app boot file (/src/boot)
|
|
36
36
|
// --> boot files are part of "main.js"
|
|
37
|
-
// https://quasar.dev/quasar-cli/boot-files
|
|
37
|
+
// https://v2.quasar.dev/quasar-cli-webpack/boot-files
|
|
38
38
|
boot: [
|
|
39
39
|
<% if (preset.i18n) { %>'i18n',<% } %>
|
|
40
40
|
<% if (preset.axios) { %>'axios',<% } %>
|
|
41
41
|
],
|
|
42
42
|
|
|
43
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
43
|
+
// https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-css
|
|
44
44
|
css: [
|
|
45
45
|
'app.<%= css %>'
|
|
46
46
|
],
|
|
@@ -49,7 +49,7 @@ module.exports = configure(function (ctx) {
|
|
|
49
49
|
extras: [
|
|
50
50
|
// 'ionicons-v4',
|
|
51
51
|
// 'mdi-v5',
|
|
52
|
-
// 'fontawesome-
|
|
52
|
+
// 'fontawesome-v6',
|
|
53
53
|
// 'eva-icons',
|
|
54
54
|
// 'themify',
|
|
55
55
|
// 'line-awesome',
|
|
@@ -59,7 +59,7 @@ module.exports = configure(function (ctx) {
|
|
|
59
59
|
'material-icons', // optional, you are not bound to it
|
|
60
60
|
],
|
|
61
61
|
|
|
62
|
-
// Full list of options: https://quasar.dev/quasar-cli/quasar-
|
|
62
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-build
|
|
63
63
|
build: {
|
|
64
64
|
vueRouterMode: 'hash', // available values: 'hash', 'history'
|
|
65
65
|
|
|
@@ -80,12 +80,12 @@ module.exports = configure(function (ctx) {
|
|
|
80
80
|
// Options below are automatically set depending on the env, set them if you want to override
|
|
81
81
|
// extractCSS: false,
|
|
82
82
|
|
|
83
|
-
// https://quasar.dev/quasar-cli/handling-webpack
|
|
83
|
+
// https://v2.quasar.dev/quasar-cli-webpack/handling-webpack
|
|
84
84
|
// "chain" is a webpack-chain object https://github.com/neutrinojs/webpack-chain
|
|
85
85
|
chainWebpack (/* chain */) {}
|
|
86
86
|
},
|
|
87
87
|
|
|
88
|
-
// Full list of options: https://quasar.dev/quasar-cli/quasar-
|
|
88
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-devServer
|
|
89
89
|
devServer: {
|
|
90
90
|
server: {
|
|
91
91
|
type: 'http'
|
|
@@ -94,7 +94,7 @@ module.exports = configure(function (ctx) {
|
|
|
94
94
|
open: true // opens browser window automatically
|
|
95
95
|
},
|
|
96
96
|
|
|
97
|
-
// https://quasar.dev/quasar-cli/quasar-
|
|
97
|
+
// https://v2.quasar.dev/quasar-cli-webpack/quasar-config-js#Property%3A-framework
|
|
98
98
|
framework: {
|
|
99
99
|
config: {},
|
|
100
100
|
|
|
@@ -116,7 +116,7 @@ module.exports = configure(function (ctx) {
|
|
|
116
116
|
// https://quasar.dev/options/animations
|
|
117
117
|
animations: [],
|
|
118
118
|
|
|
119
|
-
// https://quasar.dev/quasar-cli/developing-ssr/configuring-ssr
|
|
119
|
+
// https://v2.quasar.dev/quasar-cli-webpack/developing-ssr/configuring-ssr
|
|
120
120
|
ssr: {
|
|
121
121
|
pwa: false,
|
|
122
122
|
|
|
@@ -137,7 +137,7 @@ module.exports = configure(function (ctx) {
|
|
|
137
137
|
]
|
|
138
138
|
},
|
|
139
139
|
|
|
140
|
-
// https://quasar.dev/quasar-cli/developing-pwa/configuring-pwa
|
|
140
|
+
// https://v2.quasar.dev/quasar-cli-webpack/developing-pwa/configuring-pwa
|
|
141
141
|
pwa: {
|
|
142
142
|
workboxPluginMode: 'GenerateSW', // 'GenerateSW' or 'InjectManifest'
|
|
143
143
|
workboxOptions: {}, // only for GenerateSW
|
|
@@ -184,17 +184,17 @@ module.exports = configure(function (ctx) {
|
|
|
184
184
|
}
|
|
185
185
|
},
|
|
186
186
|
|
|
187
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
|
|
187
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-cordova-apps/configuring-cordova
|
|
188
188
|
cordova: {
|
|
189
189
|
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
|
|
190
190
|
},
|
|
191
191
|
|
|
192
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
|
|
192
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-capacitor-apps/configuring-capacitor
|
|
193
193
|
capacitor: {
|
|
194
194
|
hideSplashscreen: true
|
|
195
195
|
},
|
|
196
196
|
|
|
197
|
-
// Full list of options: https://quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
|
|
197
|
+
// Full list of options: https://v2.quasar.dev/quasar-cli-webpack/developing-electron-apps/configuring-electron
|
|
198
198
|
electron: {
|
|
199
199
|
bundler: 'packager', // 'packager' or 'builder'
|
|
200
200
|
|
package/utils/index.js
CHANGED
|
@@ -142,7 +142,7 @@ Documentation can be found at: https://${verPrefix}quasar.dev
|
|
|
142
142
|
|
|
143
143
|
Quasar is relying on donations to evolve. We'd be very grateful if you can
|
|
144
144
|
read our manifest on "Why donations are important": https://${verPrefix}quasar.dev/why-donate
|
|
145
|
-
Donation campaign: https
|
|
145
|
+
Donation campaign: https://donate.quasar.dev
|
|
146
146
|
Any amount is very welcomed.
|
|
147
147
|
If invoices are required, please first contact Razvan Stoenescu.
|
|
148
148
|
|