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

How to get output of the SFC compiler? #134

Open
imoldfella opened this issue Apr 8, 2022 · 1 comment
Open

How to get output of the SFC compiler? #134

imoldfella opened this issue Apr 8, 2022 · 1 comment

Comments

@imoldfella
Copy link

I keep running into issues with the template compiler and I can't debug them because it just says "unexpected token, expected "," (1:2) where 1:2 doesn't seem to correspond to anything. It's almost impossible to convert existing code because you can't really figure out where its breaking. I think if we had a cli way or similar to see the intermediate format, it would be a lot quicker.

example > is no good in attributes, but it can be anywhere in the template and the whole thing is borked.
v-if=" x > 0"

@imoldfella
Copy link
Author

Another issue is using typescript types inside the template like
(x: string) => fubar()

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

1 participant