diff --git a/src/.vuepress/config.js b/src/.vuepress/config.js index 2a31451bcd..29012f1f91 100644 --- a/src/.vuepress/config.js +++ b/src/.vuepress/config.js @@ -100,7 +100,8 @@ const sidebar = { 'migration/fragments', 'migration/render-function-api', 'migration/slots-unification', - 'migration/keycode-modifiers' + 'migration/keycode-modifiers', + 'migration/custom-elements-interop' ] }, { diff --git a/src/api/directives.md b/src/api/directives.md index c6ff396fa1..3aa44e51cb 100644 --- a/src/api/directives.md +++ b/src/api/directives.md @@ -453,3 +453,32 @@ - **See also:** - [Data Binding Syntax - interpolations](../guide/template-syntax.html#text) + +## v-is + +> Note: this section only affects cases where Vue templates are directly written in the page's HTML. + +- **Expects:** string literal + +- **Limited to:** native HTML elements + +- **Usage:** When using in-DOM templates, the template is subject to native HTML parsing rules. Some HTML elements, such as `