Skip to content
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.

Commit

Permalink
feat: Add links to docs on various items in quasar.conf.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Sep 21, 2019
1 parent c43a8b9 commit 6ce1c89
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions template/quasar.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = function (ctx) {
return {
// app boot file (/src/boot)
// --> boot files are part of "main.js"
// https://quasar.dev/quasar-cli/cli-documentation/boot-files
boot: [
{{#preset.i18n}}
'i18n'{{#preset.axios}},{{/preset.axios}}
Expand All @@ -14,10 +15,12 @@ module.exports = function (ctx) {
{{/preset.axios}}
],

// https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-css
css: [
'app.{{#if_eq css "none"}}css{{/if_eq}}{{#if_eq css "stylus"}}styl{{/if_eq}}{{#if_eq css "scss"}}scss{{/if_eq}}{{#if_eq css "sass"}}sass{{/if_eq}}'
],

// https://github.com/quasarframework/quasar/tree/dev/extras
extras: [
// 'ionicons-v4',
// 'mdi-v4',
Expand All @@ -30,6 +33,7 @@ module.exports = function (ctx) {
'material-icons' // optional, you are not bound to it
],

// https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-framework
framework: {
// iconSet: 'ionicons-v4', // Quasar icon set
// lang: 'de', // Quasar language pack
Expand Down Expand Up @@ -70,15 +74,20 @@ module.exports = function (ctx) {
plugins: []
},

// https://quasar.dev/quasar-cli/cli-documentation/supporting-ie
supportIE: {{#if preset.ie}}true{{else}}false{{/if}},

// https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-build
build: {
scopeHoisting: true,
// vueRouterMode: 'history',
// showProgress: false,
// gzip: true,
// analyze: true,
// preloadChunks: false,
// extractCSS: false,

// https://quasar.dev/quasar-cli/cli-documentation/handling-webpack
extendWebpack (cfg) {
{{#preset.lint}}
cfg.module.rules.push({
Expand All @@ -94,19 +103,23 @@ module.exports = function (ctx) {
}
},

// https://quasar.dev/quasar-cli/quasar-conf-js#Property%3A-devServer
devServer: {
// https: true,
// port: 8080,
open: true // opens browser window automatically
},

// animations: 'all', // --- includes all animations
// https://quasar.dev/options/animations
animations: [],

// https://quasar.dev/quasar-cli/developing-ssr/configuring-ssr
ssr: {
pwa: false
},

// https://quasar.dev/quasar-cli/developing-pwa/configuring-pwa
pwa: {
// workboxPluginMode: 'InjectManifest',
// workboxOptions: {}, // only for NON InjectManifest
Expand Down Expand Up @@ -148,11 +161,13 @@ module.exports = function (ctx) {
}
},

// https://quasar.dev/quasar-cli/developing-cordova-apps/configuring-cordova
cordova: {
// id: '{{ cordovaId }}',
// noIosLegacyBuildFlag: true, // uncomment only if you know what you are doing
},

// https://quasar.dev/quasar-cli/developing-electron-apps/configuring-electron
electron: {
// bundler: 'builder', // or 'packager'

Expand Down

0 comments on commit 6ce1c89

Please sign in to comment.