T
TanStack4mo ago
generous-apricot

CLI?

May I ask when we will be able to start a new project using the CLI and completely move away from Vinxi? I’ve found that Vinxi doesn’t support Vite’s environment variables, which is making the code quite messy.
6 Replies
wise-white
wise-white4mo ago
Im using the alpha version that moved off vinxi and it works quite well, is that what you mean? im not sure about the CLI part i just manually made the switch
generous-apricot
generous-apricotOP4mo ago
Where can I find the alpha version?
wise-white
wise-white4mo ago
GitHub
GitHub - TanStack/router at alpha
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering. - GitHub - TanStack/router at alpha
wise-white
wise-white4mo ago
or @alpha tag in npm
generous-apricot
generous-apricotOP4mo ago
Thank you so much! I need to deploy to cloudflare. In the main branch, I can set server: { preset: "cloudflare-module", unenv: cloudflare, modules: [nitroCloudflareBindings], }, How to set it in alpha?
robust-apricot
robust-apricot4mo ago
Try installing nitropack and creating a nitro.config.ts file with those options — it should be picked up by the builder, or at least it has been for other nitro options

Did you find this page helpful?