Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update components-in-v-html.md #30

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

redblobgames
Copy link

Distinguish between v-html for setting output and template for setting input. Link to the section that tells you that you can enable the runtime compiler.

Distinguish between v-html for setting output and template for setting input. Link to the section that tells you that you can enable the runtime compiler.

```vue-html
<component :is="{ template: str }" />
<component :is="{ template: xyz }" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<component :is="{ template: xyz }" />
<component :is="{ template: 'xyz' }" />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants