page-skeleton-webpack-plugin icon indicating copy to clipboard operation
page-skeleton-webpack-plugin copied to clipboard

预览骨架屏已经生成,但重新启动项目后页面依然没有变化

Open cuilingh00 opened this issue 4 years ago • 2 comments

所以说,到底怎么才能替换为骨架屏呢,我看这个问题挺多的,可否官方答疑一下呢?

cuilingh00 avatar Oct 16 '19 14:10 cuilingh00

这个我试了下,只有npm run build的时候才会吧shell里面的东西加载到 index.html 中,npm run dev 不会自动加载,可以手动将 shell.html 里的内容复制出来替换 index.html中的 重启下 npm run dev 就可以看效果了

jinghh avatar Oct 06 '20 03:10 jinghh

这么久了还有人回复,辛苦了

在2020年10月06日 11:41,一笑解千愁 写道:

这个我试了下,只有npm run build的时候才会吧shell里面的东西加载到 index.html 中,npm run dev 不会自动加载,可以手动将 shell.html 里的内容复制出来替换 index.html中的 重启下 npm run dev 就可以看效果了

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

cuilingh00 avatar Oct 10 '20 09:10 cuilingh00