budongsan icon indicating copy to clipboard operation
budongsan copied to clipboard

npm run build not including dots in references

Open joanillo opened this issue 4 years ago • 1 comments

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?

joanillo avatar Oct 08 '20 18:10 joanillo

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 👍

MRVDH avatar Oct 09 '20 08:10 MRVDH