Skip to content

Commit

Permalink
fix(create-quasar): update wrong links in spawned quasar.config.js fo…
Browse files Browse the repository at this point in the history
…r q/app-vite app folders
  • Loading branch information
rstoenescu committed Sep 12, 2023
1 parent 9e716d5 commit 2935b35
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ export default configure((/* ctx */) => {
errors: true
},<% } %>

// https://v2.quasar.dev/quasar-cli/prefetch-feature
// https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
// preFetch: true,

// app boot file (/src/boot)
// --> boot files are part of "main.js"
// https://v2.quasar.dev/quasar-cli/boot-files
// https://v2.quasar.dev/quasar-cli-vite/boot-files
boot: [
<% if (preset.i18n) { %>'i18n',<% } %>
<% if (preset.axios) { %>'axios',<% } %>
Expand Down Expand Up @@ -135,7 +135,7 @@ export default configure((/* ctx */) => {
// bexManifestFile: 'src-bex/manifest.json
// },

// https://v2.quasar.dev/quasar-cli/developing-ssr/configuring-ssr
// https://v2.quasar.dev/quasar-cli-vite/developing-ssr/configuring-ssr
ssr: {
prodPort: 3000, // The default port that the production server should use
// (gets superseded if process.env.PORT is specified at runtime)
Expand All @@ -161,7 +161,7 @@ export default configure((/* ctx */) => {
// pwaExtendInjectManifestOptions (cfg) {}
},

// https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
// https://v2.quasar.dev/quasar-cli-vite/developing-pwa/configuring-pwa
pwa: {
workboxMode: 'GenerateSW' // 'GenerateSW' or 'InjectManifest'
// swFilename: 'sw.js',
Expand All @@ -174,17 +174,17 @@ export default configure((/* ctx */) => {
// extendInjectManifestOptions (cfg) {}
},

// Full list of options: https://v2.quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-cordova-apps/configuring-cordova
cordova: {
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
},

// Full list of options: https://v2.quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-capacitor-apps/configuring-capacitor
capacitor: {
hideSplashscreen: true
},

// Full list of options: https://v2.quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electron
electron: {
// extendElectronMainConf (esbuildConf) {},
// extendElectronPreloadConf (esbuildConf) {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ module.exports = configure(function (/* ctx */) {
errors: true
},<% } %>

// https://v2.quasar.dev/quasar-cli/prefetch-feature
// https://v2.quasar.dev/quasar-cli-vite/prefetch-feature
// preFetch: true,

// app boot file (/src/boot)
// --> boot files are part of "main.js"
// https://v2.quasar.dev/quasar-cli/boot-files
// https://v2.quasar.dev/quasar-cli-vite/boot-files
boot: [
<% if (preset.i18n) { %>'i18n',<% } %>
<% if (preset.axios) { %>'axios',<% } %>
Expand Down Expand Up @@ -138,7 +138,7 @@ module.exports = configure(function (/* ctx */) {
// electronPreload: 'src-electron/electron-preload'
// },

// https://v2.quasar.dev/quasar-cli/developing-ssr/configuring-ssr
// https://v2.quasar.dev/quasar-cli-vite/developing-ssr/configuring-ssr
ssr: {
// ssrPwaHtmlFilename: 'offline.html', // do NOT use index.html as name!
// will mess up SSR
Expand All @@ -159,7 +159,7 @@ module.exports = configure(function (/* ctx */) {
]
},

// https://v2.quasar.dev/quasar-cli/developing-pwa/configuring-pwa
// https://v2.quasar.dev/quasar-cli-vite/developing-pwa/configuring-pwa
pwa: {
workboxMode: 'generateSW', // or 'injectManifest'
injectPwaMetaTags: true,
Expand All @@ -173,17 +173,17 @@ module.exports = configure(function (/* ctx */) {
// extendPWACustomSWConf (esbuildConf) {}
},

// Full list of options: https://v2.quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-cordova-apps/configuring-cordova
cordova: {
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
},

// Full list of options: https://v2.quasar.dev/quasar-cli/developing-capacitor-apps/configuring-capacitor
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-capacitor-apps/configuring-capacitor
capacitor: {
hideSplashscreen: true
},

// Full list of options: https://v2.quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/developing-electron-apps/configuring-electron
electron: {
// extendElectronMainConf (esbuildConf)
// extendElectronPreloadConf (esbuildConf)
Expand Down

0 comments on commit 2935b35

Please sign in to comment.