-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvue.config.js
32 lines (27 loc) · 932 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
27
28
29
30
31
32
module.exports = {
lintOnSave: process.env.NODE_ENV !== 'production',
// // disable hashes in filenames
// filenameHashing: false,
// // delete HTML related webpack plugins
// chainWebpack: config => {
// config.plugins.delete('html')
// config.plugins.delete('preload')
// config.plugins.delete('prefetch')
// },
configureWebpack: {
devtool: 'source-map',
},
devServer: {
proxy: {
'/api': {
target: 'http://localhost:8888', // target host
ws: true, // proxy websockets
changeOrigin: true, // needed for virtual hosted sites
},
}
},
// // path relative to this project, where the result files will be presented
// outputDir: 'wwwroot/profil-edit',
// // path used in src/href attributes to load the static files.
// baseUrl: 'wwwroot/profil-edit',
};