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

Custom directive support #29

Closed
bluskript opened this issue Mar 18, 2021 · 2 comments
Closed

Custom directive support #29

bluskript opened this issue Mar 18, 2021 · 2 comments

Comments

@bluskript
Copy link

How would I support making a directive client-side-only? I like how much this library simplifies things, but I'm not really sure how to get something like v-t working. Currently trying to use it results in SyntaxError: Custom directive is missing corresponding SSR transform and will be ignored. There are docs about how to fix this, but they don't really make sense in the context of vite-ssg

Related issue

@antfu
Copy link
Member

antfu commented Mar 19, 2021

@bluskript
Copy link
Author

That worked, thank you!

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

No branches or pull requests

2 participants