-
Notifications
You must be signed in to change notification settings - Fork 156
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
v-slot compilation fails #170
Comments
Looks like this could be a problem with
|
try this: I suspect pug passes |
@LinusBorg Cool, it works! Thank you a lot for the prompt response! I was already going to rewrite my You were totally right, it's because of how Setting pug's
|
Maybe worth mentioning in the documentation... |
@aantipov what file should that be in? |
in the jest config file. |
@aantipov how did you find out proper jest config? 😃 |
@aantipov I saw the answer in your link, |
Does vue-jest support
v-slot
directive?I use
4.0.0-beta.2
version ofvue-jest
and compilation of SFC with pug templates fails if there isv-slot
directive.For example, a template
ends up with
When I rewrite my template with the old syntax
then compilation works fine
The text was updated successfully, but these errors were encountered: