-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
可能会碰到的问题 #3
Comments
可能会出现的问题
|
关于热更新的问题,有解决方法吗 |
可以参考这个~ |
|
目前改了 然而 解决思路 1: 看了一圈vuepress热更的问题,目前 当然,这种方法会导致
在https://github.com/busyrat/vuepress-plugins/blob/master/packages/vue-demo/containers.js#L32 后执行triggerConfigHotFix(ctx) 就能热更了 const triggerConfigHotFix = async (ctx) => {
const fs = require('fs')
const path = require('path')
const fileDir = path.resolve(ctx.sourceDir, './.vuepress/config.js')
await fs.utimesSync(fileDir, new Date(),new Date())
} 解决思路 2: vuepress官网有一个extraWatchFiles的配置,我们可以增加需要监听temp文件夹下的vue文件,但是这个不能监听文件夹的变化,目前 |
Possible problems
tips: The reason may be caused by the is-fixed decoration class. You can add the following code to vuepress to inherit the position pointed by the unknown.
The text was updated successfully, but these errors were encountered: