// Configuration for your app module.exports = function (ctx) { return { plugins: [ 'i18n', 'axios', 'prettyBytes', 'vueMoment', ], css: [ 'app.styl' ], extras: [ ctx.theme.mat ? 'roboto-font' : null, // 'material-icons' // 'ionicons', // 'mdi', 'fontawesome' ], supportIE: true, vendor: { add: [], remove: [] }, build: { scopeHoisting: true, vueRouterMode: 'hash', // gzip: true, // analyze: true, // extractCSS: false, // useNotifier: false, env: ctx.dev ? { // so on dev we'll have API: JSON.stringify('http://localhost:9621/api') } : { // and on build (production): API: JSON.stringify('http://fulgen.ddns.net:9621/api') }, }, devServer: { https: false, port: 8081, open: false // opens browser window automatically }, // framework: 'all' --- includes everything; for dev only! framework: { iconSet: 'fontawesome', components: [ 'QAlert', 'QLayout', 'QLayoutHeader', 'QLayoutDrawer', 'QPageContainer', 'QPage', 'QToolbar', 'QToolbarTitle', 'QBtn', 'QIcon', 'QList', 'QListHeader', 'QInput', 'QItem', 'QItemMain', 'QItemSide', 'QTable', 'QTabs', 'QRouteTab', 'QInnerLoading', 'QSpinnerComment', 'QField', 'QStep', 'QStepper', 'QStepperNavigation', 'QTd', 'QSpinner', 'QCard', 'QCardTitle', 'QCardMain', 'QCardMedia', 'QCardSeparator', 'QCardActions', 'QParallax', 'QCheckbox', 'QChip', 'QChatMessage', 'QChipsInput', 'QCarousel', 'QCarouselSlide', 'QCarouselControl' ], directives: [ 'Ripple' ], plugins: [ 'LocalStorage', 'Dialog', 'Notify', ] }, // animations: 'all' --- includes all animations animations: [ 'fadeIn', 'fadeOut', 'fadeInLeft', 'fadeInRight', 'fadeOutLeft', 'fadeOutRight', ], pwa: { cacheExt: 'js,html,css,ttf,eot,otf,woff,woff2,json,svg,gif,jpg,jpeg,png,wav,ogg,webm,flac,aac,mp4,mp3', manifest: { // name: 'Quasar App', // short_name: 'Quasar-PWA', // description: 'Best PWA App in town!', display: 'standalone', orientation: 'portrait', background_color: '#ffffff', theme_color: '#027be3', icons: [ { 'src': 'statics/icons/icon-128x128.png', 'sizes': '128x128', 'type': 'image/png' }, { 'src': 'statics/icons/icon-192x192.png', 'sizes': '192x192', 'type': 'image/png' }, { 'src': 'statics/icons/icon-256x256.png', 'sizes': '256x256', 'type': 'image/png' }, { 'src': 'statics/icons/icon-384x384.png', 'sizes': '384x384', 'type': 'image/png' }, { 'src': 'statics/icons/icon-512x512.png', 'sizes': '512x512', 'type': 'image/png' } ] } }, cordova: { // id: 'org.cordova.quasar.app' }, electron: { extendWebpack (cfg) { // do something with cfg }, packager: { // OS X / Mac App Store // appBundleId: '', // appCategoryType: '', // osxSign: '', // protocol: 'myapp://path', // Window only // win32metadata: { ... } } }, // leave this here for Quasar CLI starterKit: '1.0.0' } }