如下配置可以解决热更新失效问题

修改package.json文件的dev字段,将:

"scripts": {
    "dev": "vuepressdev docs",
    ...
},

改为:

"scripts": {
    "dev": "vuepressdev docs --temp .temp",
    ...
},

跑一下,完美

相关文章:

  • 2021-06-22
  • 2021-12-23
  • 2021-12-21
  • 2022-12-23
  • 2021-07-07
  • 2021-09-21
  • 2022-12-23
猜你喜欢
  • 2021-04-09
  • 2021-04-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案