We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6da64bf commit 8af6d7eCopy full SHA for 8af6d7e
1 file changed
quasar.conf.js
@@ -8,6 +8,8 @@
8
/* eslint-env node */
9
10
module.exports = function ( ctx ) {
11
+ const publicPath = process.env.QUASAR_PUBLIC_PATH || "crudapi";
12
+
13
return {
14
// https://quasar.dev/quasar-cli/supporting-ts
15
supportTS: false,
@@ -84,8 +86,8 @@ module.exports = function ( ctx ) {
84
86
exclude: /node_modules/
85
87
})
88
},
- publicPath: '/crudapi/',
- distDir: `dist/${ctx.modeName}/crudapi`
89
+ publicPath: `${publicPath}`,
90
+ distDir: `dist/${ctx.modeName}/${publicPath}`
91
92
93
// Full list of options: https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
0 commit comments