123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282 |
- module.exports = function () {
- return {
-
- supportTS: false,
-
-
-
-
-
- boot: [
- 'vueMain',
- 'axios_request',
- 'notify_default',
- 'i18n'
- ],
-
- css: [
- 'app.sass'
- ],
-
- extras: [
-
-
-
-
-
-
-
- 'roboto-font',
- 'material-icons'
- ],
-
- build: {
- vueRouterMode: 'hash',
-
-
-
-
-
-
-
-
- gzip: true,
-
-
-
-
- extendWebpack (cfg) {
- cfg.module.rules.push({
- resourceQuery: /blockType=i18n/,
- type: 'javascript/auto',
- use: [
- { loader: '@kazupon/vue-i18n-loader' },
- { loader: 'yaml-loader' }
- ]
- })
- }
- },
-
- devServer: {
- https: false,
- port: 8080,
- open: true
- },
-
- framework: {
- iconSet: 'material-icons',
- lang: 'zh-hans',
- config: {},
-
-
-
- importStrategy: 'auto',
-
-
-
-
- components: [
- 'QFab',
- 'QFabAction',
- 'QIcon',
- 'QLayout',
- 'QPageContainer',
- 'QPage',
- 'QHeader',
- 'QPageSticky',
- 'QPageScroller',
- 'QToolbar',
- 'QToolbarTitle',
- 'QForm',
- 'QInput',
- 'QDialog',
- 'QTooltip',
- 'QBar',
- 'QBtnToggle',
- 'QImg',
- 'QCard',
- 'QCardSection',
- 'QCardActions',
- 'QAvatar',
- 'QTabs',
- 'QTab',
- 'QRouteTab',
- 'QCheckbox',
- 'QInfiniteScroll',
- 'QVideo',
- 'QChatMessage'
- ],
- directives: [
- 'ClosePopup'
- ],
-
- plugins: [
- 'Cookies',
- 'LocalStorage',
- 'SessionStorage',
- 'Dialog',
- 'Notify',
- 'Meta'
- ]
- },
-
-
- animations: [
- 'fadeIn',
- 'rubberBand',
- 'zoomIn'
- ],
-
- ssr: {
- pwa: false
- },
-
- pwa: {
- workboxPluginMode: 'GenerateSW',
- workboxOptions: {},
- manifest: {
- name: 'wms templates',
- short_name: 'WMS',
- description: 'WMS',
- display: 'standalone',
- orientation: 'portrait',
- background_color: '#ffffff',
- theme_color: '#027be3',
- icons: [
- {
- src: 'icons/icon-128x128.png',
- sizes: '128x128',
- type: 'image/png'
- },
- {
- src: 'icons/icon-192x192.png',
- sizes: '192x192',
- type: 'image/png'
- },
- {
- src: 'icons/icon-256x256.png',
- sizes: '256x256',
- type: 'image/png'
- },
- {
- src: 'icons/icon-384x384.png',
- sizes: '384x384',
- type: 'image/png'
- },
- {
- src: 'icons/icon-512x512.png',
- sizes: '512x512',
- type: 'image/png'
- }
- ]
- }
- },
-
- cordova: {
-
- },
-
- capacitor: {
- hideSplashscreen: true
- },
-
- electron: {
- bundler: 'builder',
- packager: {
-
-
-
-
-
-
-
-
- },
- builder: {
-
- appId: 'com.electron.greaterwms',
- productName: 'GreaterWMS',
- copyright: '2022SR0153577',
- publish: [
- {
- provider: 'generic',
-
- }
- ],
- mac: {
- target: 'dmg'
- },
- linux: {
- target: [
- {
- target: 'deb'
- }
- ]
- },
- win: {
- target: [
- {
- target: 'nsis',
- arch: [
- 'x64',
- 'ia32'
- ]
- }
- ]
- },
- nsis: {
- uninstallDisplayName: 'GreaterWMS',
- oneClick: false,
- allowToChangeInstallationDirectory: true,
- createDesktopShortcut: true,
- createStartMenuShortcut: true,
- shortcutName: 'GreaterWMS',
- runAfterFinish: true
- },
- compression: 'maximum'
- },
-
- nodeIntegration: true,
- extendWebpack () {
-
-
- }
- }
- }
- }
|