Replies: 6 comments 3 replies
-
I found a compromise method: Manually copy |
Beta Was this translation helpful? Give feedback.
-
Try changing the |
Beta Was this translation helpful? Give feedback.
-
Did anyone ever figure out a solution? I suppose the dev server serves files from a different folder, how can I know its path? |
Beta Was this translation helpful? Give feedback.
-
Did anybody knows how to solve? I tried However, they work well when I use |
Beta Was this translation helpful? Give feedback.
-
Please check #6696 for a possible solution |
Beta Was this translation helpful? Give feedback.
-
Workaround to use twice for dev for prod |
Beta Was this translation helpful? Give feedback.
-
Same aims as #1231, I want to copy some files from 'node_modules/@arcgis/core/assets' to 'public/assets', here is my
vite.config.js
:Here are my deps:
It only work on prod mode. That is to say, when I run
yarn build && yarn serve
, openhttp://localhost:5000
, the app run all well, but however, when I runyarn dev
, the app access some resources inassets
folder will report 404:Beta Was this translation helpful? Give feedback.
All reactions