Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prop value inconsistent in dev and after build #4808

Closed
soulsam480 opened this issue Oct 16, 2021 · 1 comment
Closed

Prop value inconsistent in dev and after build #4808

soulsam480 opened this issue Oct 16, 2021 · 1 comment

Comments

@soulsam480
Copy link

soulsam480 commented Oct 16, 2021

Version

3.2.20

Reproduction link

stackblitz.com

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 then vite 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 quasarframework/quasar#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/

@ygj6
Copy link
Member

ygj6 commented Oct 16, 2021

Seems like duplicate of #4783, may have been solved by #4790

@ygj6 ygj6 closed this as completed Oct 16, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants