Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant