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

hot reload过程中vue.js的updateAttrs方法报错 #203

Closed
unknown-coder opened this issue Oct 20, 2016 · 1 comment
Closed

hot reload过程中vue.js的updateAttrs方法报错 #203

unknown-coder opened this issue Oct 20, 2016 · 1 comment

Comments

@unknown-coder
Copy link

image

重现方法

  • npm run dev
  • style中写一个未定义过的className
.test {
  height: 100px;
  width: 100px;
  background-color: red;
}
  • template中加一个div
<div class="test"></div>
  • 保存,然后控制台报错,hot reload随之挂掉

似乎是有新定义的样式,写进template中时,会报错

@yyx990803

@zigomir
Copy link
Contributor

zigomir commented Nov 2, 2016

@unknown-coder please open this issue on repository of template you're using. vue-cli doesn't care about styles or templates ;)

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

2 participants