--mode breaks build #12753
OlivierPetri
started this conversation in
General Discussions
--mode breaks build
#12753
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version
3.5.13
Reproduction link
stackblitz.com
(call: npm run dev --mode development to reproduce)
Steps to reproduce
What is expected?
Vue starting up as if only
was called
What is actually happening?
http://localhost:5173/ returns 404 - not found
Setting "--mode production" has the same effect.
I tried to use .env files for my project until I found out setting --mode would even break the example build.
Observation: The regular (un--moded) build displays
on the command line. But with the --mode option set, the two "Vue DevTools" lines are missing.
Beta Was this translation helpful? Give feedback.
All reactions