-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathvue.config.js
37 lines (36 loc) · 1.07 KB
/
vue.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
var path = require('path');
module.exports = {
publicPath: '/betaclient/',
devServer: {
host: "0.0.0.0",
port: "8780"
},
pluginOptions: {
webpackBundleAnalyzer: {
openAnalyzer: false
},
i18n: {
locale: 'en',
fallbackLocale: 'en',
localeDir: 'locales',
enableInSFC: false
}
},
configureWebpack: {
resolve: {
alias: {
// Mailcow Aliases
'package': path.resolve(__dirname, './package.json'),
'mailcow-layouts': path.resolve(__dirname, 'src/Layouts'),
'mailcow-views': path.resolve(__dirname, 'src/views'),
'mailcow-store': path.resolve(__dirname, 'src/store'),
'mailcow-services': path.resolve(__dirname, 'src/services'),
'mailcow-config': path.resolve(__dirname, 'src/config'),
'mailcow-components': path.resolve(__dirname, 'src/components'),
'mailcow-router': path.resolve(__dirname, 'src/router'),
'mailcow-mixins': path.resolve(__dirname, 'src/mixins'),
'mailcow-utils': path.resolve(__dirname, 'src/utils')
}
}
}
}