vuejs / vue-style-loader

💅 vue style loader module for webpack
MIT License
226 stars 68 forks source link

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

Open ryugan opened 3 years ago

ryugan commented 3 years ago

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)

lorenzocostalunga commented 3 years ago

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