关于vuepress不能热更新问题 (在package.json里面修改)
关于vuepress不能热更新问题 (在package.json里面修改)修改package.json文件的dev字段,将:“scripts”: {“dev”: “vuepress dev docs”,“build”: “vuepress build docs”,“test”: “echo “Error: no test specified” && exit 1”,“deploy”
·
关于vuepress不能热更新问题 (在package.json里面修改)
修改package.json文件的dev字段,将:
“scripts”: {
“dev”: “vuepress dev docs”,
“build”: “vuepress build docs”,
“test”: “echo “Error: no test specified” && exit 1”,
“deploy”: “bash deploy.sh”
}
改为以下:
“scripts”: {
“dev”: “vuepress dev docs --temp .temp”,
“build”: “vuepress build docs”,
“test”: “echo “Error: no test specified” && exit 1”,
“deploy”: “bash deploy.sh”
},
编译时候不能再用yarn docs:dev应修改为 yarn dev
更多推荐
已为社区贡献1条内容
所有评论(0)