You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<templatelang="pug">
div
Html.index-class(index-html-attr)
Head
Title index title
h1 hello index
div: nuxt-link(to="/foo") foo
</template>
/foo.vue
<templatelang="pug">
div
Html.foo-class
Head
Title foo title
Script(src="/foo-script-nested-in-html-tag.js")
Script(src="/foo-script-out-of-html-tag.js")
h1 hello foo
div: nuxt-link(to="/") index
</template>
Describe the bug
The repro demonstrates several bugs:
Html tag's class not work.
Title not work.
Script nested in Html not work
Additional context
No response
Logs
[Vue warn]: "class" is a reserved attribute and cannot be used as component prop.
[Vue warn]: "is" is a reserved attribute and cannot be used as component prop.
[Vue warn]: "slot" is a reserved attribute and cannot be used as component prop.
[Vue warn]: "style" is a reserved attribute and cannot be used as component prop.
The text was updated successfully, but these errors were encountered:
Environment
Linux
v16.12.0
2.16.0-27358576.777a4b7f
[email protected]
webpack
-
-
-
Reproduction
https://codesandbox.io/s/meta-components-mfm825-mfm825?file=/pages/index.vue
/index.vue
/foo.vue
Describe the bug
The repro demonstrates several bugs:
Html
tag's class not work.Title
not work.Script
nested inHtml
not workAdditional context
No response
Logs
The text was updated successfully, but these errors were encountered: