css v-bind not working after build (production mode)

This issue has been created since 2022-09-28.

Version

2.7.10

Reproduction link

https://github.com/haomo-studio/element-ui-vite-vue2

Steps to reproduce

  1. npm run build
  2. publish dist/ to nginx
  3. browse url: /HmBgCard in development & production mode. They are different!

What is expected?

v-bind work in production mode

What is actually happening?

css v-bind not working in production mode, but working in development mode

yyx990803 wrote this answer on 2022-10-15

Reproduction is not minimal. Please reduce the reproduction to only the components that are related to the bug.

More Details About Repo
Owner Name vuejs
Repo Name vue
Full Name vuejs/vue
Language TypeScript
Created Date 2013-07-29
Updated Date 2022-12-10
Star Count 201155
Watcher Count 6070
Fork Count 33134
Issue Count 595

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Botocore-stubs name is not importable 1 2022-02-14 2022-08-05
notowned with an empty codeowners file 1 2022-02-27 2022-11-11
Add support for LaTeX 2 2022-12-01 2022-11-28
git, notification: Progress notification does not dismiss when cancelled 0 2022-11-18 2022-12-06
File explorer overflows 0 2022-11-28 2022-11-28
exception when run in idat 1 2022-08-14 2022-11-22
Touch-Short Version- 0 2022-07-17 2022-12-08
Entering a number into the Z field uses the default XY speed 0 2022-01-05 2022-12-10
File not Found LzmaDec, LzmaEnc 1 2022-02-16 2022-12-08
Use a patch file instead of publishing copyrighted code 0 2022-03-29 2022-11-10
Cannot find any stations when using --net "*" 3 2020-10-19 2022-09-30
Update banner images 0 2018-01-07 2022-12-05
Add element-wise atomic kernels 1 2021-04-06 2022-11-25
Python inference for trt model 4 2022-01-23 2022-12-04
is scipy==1.4.1 really neccessary? 5 2021-07-24 2022-10-30
Possibility to capture updated cookie 2 2021-11-15 2022-11-07
DBeaver M1/ARM support as of v21.2.2 3 2021-10-21 2022-11-07
remove xtend 0 2021-05-22 2022-01-05
[AppleAppStore] 401 Unauthorized 2 2022-04-01 2022-09-30
[7c2deb] openrct2.exe: Guard::Assert_VA, Guard::Assert, Guest::UpdateRideLeaveEntranceWaypoints, Guest::UpdateRideAdvanceThro... 0 2022-07-03 2022-09-07
Auto instrument packages with breakpoints 0 2016-02-18 2022-11-25
Suspected bug in scipy.optimize.nonlin.nonlin_solve default linesearch 0 2022-12-08 2022-12-03
cmd error route 0 2021-11-17 2022-01-09
Document why build tasks are created dynamically 0 2021-11-30 2022-10-03
mechcomp pressure sensors dont work 1 2021-12-16 2022-10-24
controled vocabulary issue with PXD019123 0 2022-01-05 2022-11-11
Recommendations on how to handle inconsistencies between Search API and Books API (cover_i) 2 2022-10-04 2022-11-03
Feature Request: Adding Seafile 0 2021-06-27 2022-11-29
Wayward Cave crashing on Vulkin 0 2021-11-20 2022-10-27
Narrowing TS types after `toBeInTheDocument` call. 4 2020-03-26 2022-08-22
Missing sites required for Exercise 4 1 2021-11-15 2022-12-10
Enable CFR copy for experimentation 3 2022-08-25 2022-09-19
Rename action to update experiments 0 2022-08-25 2022-09-19
add support for creating Gitlab PR 1 2020-11-16 2022-12-01
I3S -1.8 Support - Add Basis support 0 2021-08-25 2022-10-23
Update sbt to 1.4.4 0 2020-11-23 2021-12-17
AWS Cognito User Pool errors out on update even though nothing is changed 2 2022-02-06 2022-11-05
Proposal: introduces PostHTML into Hexo 3 2021-10-13 2022-11-21
DenseVector.rangeD creates too shorter vector. 2 2017-11-28 2022-11-11
User Roles broken 6 2021-10-19 2022-01-13
feature: Allow customization of tag values per error for "gql.error" metric counter, including standard tags 0 2022-08-16 2022-11-18
Home assistant cant start after reboot 3 2022-03-08 2022-11-25
How to double check that 2nd order grads are being used 1 2020-11-16 2022-11-30
getArrowConstraintPositionX may have a calculate mistake 2 2021-02-22 2022-08-17
Ensure a submission with a reserved GUID is already signed 7 2021-11-03 2022-08-14
Add wkhtmltoimage & wkhtmltopdf binary to Ubuntu image 2 2021-07-06 2022-11-26
When will vue-element support vue 2.0 ? 3 2016-11-08 2022-12-06
[symfony/mailjet-mailer] Error message is not processed correctly 1 2022-02-14 2022-11-22
Arel::UpdateManager with join statement on a sqlite and postgres database are invalid 1 2022-02-11 2022-09-19
Global route control for namespace 0 2011-11-05 2022-12-03