Skip to content

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

Closed
@unknown-coder

Description

@unknown-coder

image

重现方法

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

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

@yyx990803

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions