-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix lit-ts template #1494
Fix lit-ts template #1494
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting. The template is the default vite template. Do you know if it's an issue there too?
Thanks for raising this 🙏
Rather than update the template itself, could you add the file under the generate directory so it isn't over written next time we regenerate? Thanks! |
I didn't see any problem with Vite so far. If they had this same problem in their template, it seems to have been fixed: |
It may be a recent fix. I'll check why the generated code isn't as expected 👍 |
I fixed it with the latest commit, but it is indeed interesting |
This pull fixes a bug where a newly generated lit-ts template would have incorrect syntax in the fronted/src/my-element.ts file