最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

vue.js - VSCode + Docker HMR Development: Modifying fronted *.vue has no Effect - Stack Overflow

programmeradmin1浏览0评论

I am using Docker + VSCode for development to modify wiki.js () following the official guide: .

When modifying backend files, the changes take effect immediately after running rs. However, when modifying wiki/client/common/*.vue, the changes do not take effect in real-time. I checked inside the wiki-app Docker container, and the modified file is indeed updated. However, the frontend page does not reflect the changes.

When I open the browser console (F12), I see the following error:

Failed to load resource: the server responded with a status of 404 (Not Found): 3000/_assets/b3a7510a46dfe6819fd2.hot-update.json:1

Does this mean that Vue changes do not take effect directly?

I tried rebuilding the Docker image (docker build process), and the changes did take effect. However, in the real-time development environment, they do not update immediately.

Why is this happening, and how can I make frontend changes take effect in real-time?

发布评论

评论列表(0)

  1. 暂无评论