budongsan
budongsan copied to clipboard
npm run build not including dots in references
I have experience in React, not in Vue. I want to run your app locally. When I make 'npm run build', doesn't work because inside index.html there are references to /css/... and /js/... instead of css/ (or ./css) and js/ (or ./js), and resources are not found. Could be this is related because you develop in a Windows machine?
I have the same issue and haven't yet looked into what's causing this. For now I manually put dots in front of all the references whenever I release a new build. Interestingly enough I don't experience this with my other Vue projects. I edited the title and will update here once I look for and find a solution 👍