vuejs / vue-style-loader

💅 vue style loader module for webpack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[4.1.3] vue-property-decorator with WithRender doesn't work anymore

ryugan opened this issue · comments

Before start, I doesn't have any problem with 4.1.2.

I use vue-property-decorator and WithRender to load my css :
`
import './myComponent.css'
import WithRender from './myComponent.html'

import { Vue, Component } from 'vue-property-decorator';

@WithRender
@component
export class MyComponentextends Vue {
}
`

But with 4.1.3 I have this problem :
Uncaught TypeError: Cannot read property 'locals' of undefined at eval (myComponent.css:7) at Object../src/myComponent.css (myComponent.js:5195)

I confirm, same problem.
With version 4.1.2 there are no problems.