npm run build后,dist文件夹中的index.html里的变量没有替换成相应的js脚本
Open
- Dominant language
- Vue
- Stars
- 16.3k
- Forks
- 4.7k
- PR merge metrics
- No merged PRs in 30d
Description
npm run build后,dist文件夹中的index.html里的变量没有替换成相应的js脚本。所以部署到tomcat后也不能运行。有遇到这个问题的吗?还是我的环境有问题?谢谢
Contributor guide
No contributing guide indexed for this repository
Research direction
Run npm run build and inspect dist/index.html, focusing on the variables that remain unreplaced. Trace the build configuration and entry points that generate this file; done means the built HTML contains the corresponding JavaScript references and can run after deployment to Tomcat.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, webpack
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100