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

Warn with proper guidance for trying to use Vue without the plugin installed #1368

Closed
antfu opened this issue Jan 5, 2021 · 1 comment
Closed

Comments

@antfu
Copy link
Member

antfu commented Jan 5, 2021

Is your feature request related to a problem? Please describe.
#1365

Currently, we are assuming Vue file as JSX without @vitejs/plugin-vue. This is potentially confusing.

Describe the solution you'd like
Show the warning and guidance for users to install Vue's plugin

@yyx990803
Copy link
Member

Most users should create a new Vite 2 app with @vitejs/create-app, and will be prompted to select proper templates, so they won't actually run into this problem. This only happens to people who don't read the docs.

yyx990803 added a commit that referenced this issue Jan 5, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants