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

fixed template root warning in create-vite-app #79

Closed
wants to merge 1 commit into from
Closed

fixed template root warning in create-vite-app #79

wants to merge 1 commit into from

Conversation

jamesctucker
Copy link
Contributor

Received the following warning when opening App.vue in create-vite-app.

Screen Shot 2020-05-07 at 9 40 14 AM

Fixed by wrapping elements in div.

<span>Count is: {{ count }}</span>
<button @click="count++">increment</button>
</p>
<div>
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not required anymore in vue 3. I think your error comes from your IDE which is not compliant with vue 3 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mathieumure Gotcha! Ok so I guess this can be closed. 🙂

@jamesctucker jamesctucker deleted the patch-2 branch May 18, 2020 02:08
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.

None yet

2 participants