-
Notifications
You must be signed in to change notification settings - Fork 6
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
examples: migrate to vite #4
Conversation
Testing with https://stackblitz.com/github/dai-shi/use-signals/tree/migrate-to-stackblitz/examples/01_counter, and got this:
|
https://codesandbox.io/p/sandbox/github/dai-shi/use-signals/tree/migrate-to-stackblitz/examples/01_counter works, but TS error is shown. |
https://livecodes.io/?x=https://github.com/dai-shi/use-signals/tree/migrate-to-stackblitz/examples/01_counter/src works flawlessly. (except that it shows empty HTML tab first.) cc @hatemhosny I actually wish https://livecodes.io/?x=https://github.com/dai-shi/use-signals/tree/migrate-to-stackblitz/examples/01_counter would work. 😄 |
You are right. It should not select an empty editor by default. |
And if you want to import 1 file, you can just use its url |
That's reasonable as LiveCodes only works with one tsx file anyway, right? |
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.
Not sure how acceptable it is with the community standard, but I like how it is.
we need standalone tsconfig files.
Also migrate from CRA to Vite, which is modern.
close #5