#Is it possible to use Wayfinder in project without TS?

7 messages · Page 1 of 1 (latest)

cloud hull
#

Hi guys, probably stupid question, but it is possible to use Wayfinder in project where I dont use TS?

versed tiger
#

why would you need wayfinder if youre not using TS

coarse ore
tidal plover
#

Assuming you're using Vite, that does support importing TS files, where it would only transpile the TS file to JS. So I guess Wayfinder would "work". But you're likely going to lose 90% of what Wayfinder can do and is helpful for. https://vite.dev/guide/features.html#typescript
Anyway, best way to find out is to try

cloud hull
#

It didn't work for me, but I didn't know if it was a misconfiguration or a missing TS.

tidal plover
#

Can't really help or guide with "didn't work"

cloud hull
#

Yeah, sorry. I will just convert my small app to TS. 🙂