We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa33dd5 + 96957de commit 4369697Copy full SHA for 4369697
vue.config.js
@@ -14,9 +14,11 @@ module.exports = {
14
devServer: {
15
publicPath: baseUrl // 和 baseUrl 保持一致
16
},
17
- // webpack 设置
18
// 默认设置: https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-service/lib/config/base.js
19
chainWebpack: config => {
+ // 解决 cli3 热更新失效 https://github.com/vuejs/vue-cli/issues/1559
20
+ config.resolve
21
+ .symlinks(true)
22
// markdown
23
config.module
24
.rule('md')
0 commit comments