Closed DWSpace closed 1 year ago
is it needed to deploy first and then upload static file with netlify OR we can you netlify to deploy? Netlify's still deploy with raw code even I have not build static file first.
The problem is: I had edited the codes of a node_mudules directly, which took effect when running in local dev mode, but did not have any changes after deployment. Solution: there are 2 solutions.
✅ Checklist
🔎 Description
Concise Description
Hope you have a nice day.
As you know, I'm using vuepress-theme-gungnir to make a little blog. Now I have finished personal edition to custom this theme.
Everything run perfectly at local (in dev mode, which I use npm run docs:dev), as well as after I run npm run docs:build, I also get a perfectly static files which is all custommed.
But after deploy to netlify, all my customs seems disappear. It only appear with original gungnir theme. The same thing happen with vercel. Other codes in *.vue files also disappear.
I have been looking for many ways to figure it out, have tried many time to fix it, but there are very less information and it's not fixed at all.
you can clone my repo to run at local and check the netlify to see the difference. Please give me a help.
https://glowing-biscotti-276c40.netlify.app/
Thank you.
📄 Environment info (
npx vuepress info
)🔗 Reproduction link / repo:
https://github.com/DWSpace/dws-blog.git