-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
30 lines (28 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
const path = require('path');
module.exports = {
pluginOptions: {
i18n: {
locale: 'fr',
fallbackLocale: 'fr',
localeDir: 'i18n',
enableInSFC: false,
},
},
};
module.exports = {
chainWebpack: (config) => {
config.resolve.alias
.set('Components', path.resolve(__dirname, './src/components/'))
.set('Store', path.resolve(__dirname, './src/store/'))
.set('Router', path.resolve(__dirname, './src/router/'))
.set('Variable', path.resolve(__dirname, './src/scss/variable.scss'))
.set('Spacing', path.resolve(__dirname, './src/scss/spacing.scss'))
.set('Main', path.resolve(__dirname, './src/scss/main.scss'))
.set('Assets', path.resolve(__dirname, './src/assets/'))
.set('Constants', path.resolve(__dirname, './src/constants/'))
.set('Interfaces', path.resolve(__dirname, './src/services/interfaces/'))
.set('Services', path.resolve(__dirname, './src/services/impl/'))
.set('Models', path.resolve(__dirname, './src/models/'))
.set('Utils', path.resolve(__dirname, './src/utils/'));
},
};