mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 16:12:12 +00:00
97076fa649
When using `lang="pug"`, passing Boolean `true` as prop and using directives will case errors. See: https://github.com/vuejs/vue-loader/issues/693 https://github.com/vuejs/vue-loader/issues/55 For example: ```html <template lang="pug"> foo( bar v-baz-directive ) </template> ``` This will be rendered as `<foo bar="bar" v-baz-directive="v-baz-directive">` and cause errors such as `bar expected Boolean but got String` and `v`/`baz`/`directive` not defined. |
||
---|---|---|
.. | ||
webpack | ||
builder.js | ||
generator.js | ||
index.js |