adding typescript to a vite setup in progress
I have this project started with vite and after two moths of working with it, I finally realised that I really need typescript.
the problem is I can get vite to recognise typescript.
6 Replies
make a new project with the typesctipt vite starter. then either migrate it over to that new project or take the pieces from the starter over to your project
I didn't think about the second option. thank you so much.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
just installing typescript doesn't configure the other things.
for example the packes.json need to run tsc then vite.
and there are two additional config files.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
and write some text that goes in those files. which makes it easier to just setup another project and copy those instead.