npm run build asset path incorrect #11493
Unanswered
leandro2000vieira
asked this question in
Help/Questions
Replies: 1 comment
-
My first suspicion would be that you are building with If you don't have that set in the build script, maybe it's set in your terminal env accidentally? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After running npm run build, the paths in the generated index.html file are wrong.
index.html
vite.config.js
I put all the asset imports in main.js.
Beta Was this translation helpful? Give feedback.
All reactions