Relative Content

Tag Archive for cssvuejs3production-environment

VueJs 3 production build looks different then local served

I am newbie to VueJS and using VueJS 3 to build a basic portfolio website with backend as GoLang and VueJS as frontend. I am facing issue where local build when we run server saying “npm run serve” looks different and when we build production code which creates dist folder and to run it say “npm serve -s dist” and that gives a different look to website. How to avoid that and make local and production build look same. By looks I mean CSS doesn’t load up properly.