Subscribe on changes!

v-if works incorrect in prod mode

avatar
Dec 17th 2021

Version

3.2.26

Reproduction link

github.com

Steps to reproduce

  1. clone a repo
  2. run 'npm i'
  3. run 'npm run serve:build'

What is expected?

After prod building component will be displayed on a page

What is actually happening?

After prod building component is not displayed on a page. It happens only with prod build. With dev build, it works correctly


Prod build works correctly in vue 2 see example: https://github.com/dxvladislavvolkov/vue2prod

avatar
Dec 17th 2021

Please understand that we don't have the capacity to debug 3rd-party component libraries in order to check wether we have a bug in Vue or they have a bug in their code.

If you can come up with an example that replicates the issue without 3rd party dependencies we are happy to have a second look