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

Support vite-plugin-components #200

Closed
xorik opened this issue May 22, 2021 · 2 comments
Closed

Support vite-plugin-components #200

xorik opened this issue May 22, 2021 · 2 comments
Labels
question Further information is requested

Comments

@xorik
Copy link

xorik commented May 22, 2021

Hi.

Thank you for your plugin, it works really great!

I have on-demand components with vite-plugin-components, but type checking is not working for props, unless I import the component.

It would be nice to map components automatically (by default from 'src/components' folder)

@johnsoncodehk
Copy link
Member

Thanks for your suggestion, but this extension will not built-in support third party plugin, please wait supports for Plugin API.

You already able to use GlobalComponent interface to define "on-demand components", see https://github.com/johnsoncodehk/volar#using.

@johnsoncodehk johnsoncodehk added the question Further information is requested label May 22, 2021
@xorik
Copy link
Author

xorik commented May 22, 2021

Ok, thanks for quick response!

I saw the global components, but it means I need to list there every component with props. Will work for now, i guess.

You may close the ticket, if you want

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

No branches or pull requests

2 participants