You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason to create a tanstack router app, we should call tsrouter-app , a weird and confusing name, which is completely different from the actual packages that installed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It's quite confusing how to start to use both.
Tanstack Router
Tanstack Router includes CLI app generator:
pnpm create @tanstack/router
It's an equivalent of create-react-app (RIP)
https://tanstack.com/router/latest/docs/framework/react/quick-start
For some reason to create a tanstack router app, we should call
tsrouter-app
, a weird and confusing name, which is completely different from the actual packages that installed.For example if using the following CLI command:
Creates the following:
package.json:
Tanstack Start
Tanstack Start - which is the equivalent of next.js, doesn't have CLI app generator like tanstack router (tsrouter-app).
To start basic project we can fork from available examples, like this one:
https://tanstack.com/start/latest/docs/framework/react/examples/start-basic
Beta Was this translation helpful? Give feedback.
All reactions