We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b096742 commit d9a0061Copy full SHA for d9a0061
examples/vue.config.js
@@ -1,6 +1,10 @@
1
const { resolve } = require('path')
2
3
module.exports = {
4
+ devServer: {
5
+ // https://github.com/webpack/webpack-dev-server/issues/2190#issuecomment-520670599
6
+ contentBase: './public'
7
+ },
8
chainWebpack(webpackConf) {
9
webpackConf.resolve.alias.set('@src', resolve(__dirname, '../src'))
10
}
0 commit comments