Prop value inconsistent in dev and after build
Version
3.2.20
Reproduction link
Steps to reproduce
- Open the URL
- run
vite
and inspect the button - padding windiCSS class will be
px-2 py-[6px]
- Run
vite build
and thenvite preview
- again inspect the button
- padding windiCSS class will be
px-3 py-2
What is expected?
The value of prop sm
on the FButton
component inside Helloworld should be true
in both dev and prod after build and the padding should be the same.
What is actually happening?
The value of prop sm
on the FButton
component inside Helloworld is true
in dev and undefined
prod after build so the padding is inconsistent as result
I've also found the same issues in quasar link to the issue is here https://github.com/quasarframework/quasar/issues/10943. When I rolled back to vue@2.2.19 the issue was fixed. Also while working on another project https://github.com/soulsam480/furikaeru, I found this issue this morning. on dev it works perfectly but breaks in prod after building. You can confirm this by visiting https://furikaeru.sambitsahoo.com/
Seems like duplicate of #4783, may have been solved by https://github.com/vuejs/vue-next/pull/4790