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

元素的类名中"data-v-"是否可以去除? #738

Closed
Darcrandex opened this issue Jul 10, 2018 · 2 comments
Closed

元素的类名中"data-v-"是否可以去除? #738

Darcrandex opened this issue Jul 10, 2018 · 2 comments

Comments

@Darcrandex
Copy link

编译后的元素, 类名的部分会有一个'data-v-'开头的类名, 这个类名的作用是什么, 是否可以去掉, 如果可以, 应该怎么做?

@F-loat
Copy link
Contributor

F-loat commented Jul 10, 2018

居然就快三个月了。。过两天放假了处理下 mpvue/mpvue-loader#12

@fangxiong1123
Copy link

这个类名是将样式锁定到当前界面,去除style 中的scope就可以了@Darcrandex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants