Vue-loader: 13.0.2 breaks vue loading with pug

Created on 24 Jul 2017  路  4Comments  路  Source: vuejs/vue-loader

Guys,

I was using v12.2.2 with pug as template language. Just moved to 13.0.2 and I receive this when mounting the vue:
"Failed to mount component: template or render function not defined"

Reinstalling 12.2.2, it works again. 13.0.2 breaks it. Any ideas? Thanks...

need repro

Most helpful comment

All 4 comments

Please provide an example, Judging from the error, I rather think that you use require() and don't respect the new syntax necessary by a breaking change in vue-loader 13.* (see releases page.)

Where do I find the releases page or news about the breaking changes?

thanks, this solved my issue

Was this page helpful?
0 / 5 - 0 ratings