-
Notifications
You must be signed in to change notification settings - Fork 0
/
vue.config.js
26 lines (24 loc) · 862 Bytes
/
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
// vue.config.js
const {GenerateSW} = require('workbox-webpack-plugin');
module.exports = {
css: {
loaderOptions: {
// by default the `sass` option will apply to both syntaxes
// because `scss` syntax is also processed by sass-loader underlyingly
// but when configuring the `prependData` option
// `scss` syntax requires an semicolon at the end of a statement, while `sass` syntax requires none
// in that case, we can target the `scss` syntax separately using the `scss` option
sass: {
prependData: `@import "@/assets/index.scss";`
}
}
},
pwa: {
name: 'Flexsale App',
shortName: 'Flexsale',
themeColor: '#ffffff',
msTileColor: '#000000',
appleMobileWebAppCapable: 'yes',
appleMobileWebAppStatusBarStyle: 'black'
}
}