-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
docs: add quick start doc for framework mode #13864
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
Conversation
|
## Vite Config | ||
|
||
```shellscript nonumber | ||
touch vite.config.js |
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.
We use TS files all over the docs, so maybe we should do that on this page as well?
touch vite.config.js | |
touch vite.config.ts |
docs/tutorials/quickstart.md
Outdated
touch app/root.jsx | ||
touch app/routes.js |
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.
Same for these files
touch app/root.jsx | |
touch app/routes.js | |
touch app/root.tsx | |
touch app/routes.ts |
export default []; | ||
``` | ||
|
||
The existence of `routes.js` is required to build a React Router app; if you're using React Router we assume you'll want to do some routing eventually. You can read more about defining routes in our [Routing][routing] guide. |
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.
The existence of `routes.js` is required to build a React Router app; if you're using React Router we assume you'll want to do some routing eventually. You can read more about defining routes in our [Routing][routing] guide. | |
The existence of `routes.js` is required to build a React Router app; if you're using React Router, we assume you'll want to do some routing eventually. You can read more about defining routes in our [Routing][routing] guide. |
docs/tutorials/quickstart.md
Outdated
[templates]: ../start/framework/deploying#templates | ||
[spa]: ../how-to/spa | ||
[inspect]: https://nodejs.org/en/docs/guides/debugging-getting-started/ | ||
[vite-config]: ../file-conventions/vite-config |
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.
This path doesn't exist and we have a link to the Vite docs
[vite-config]: ../file-conventions/vite-config |
[inspect]: https://nodejs.org/en/docs/guides/debugging-getting-started/ | ||
[vite-config]: ../file-conventions/vite-config | ||
[routing]: ../start/framework/routing | ||
[templates]: /resources?category=templates |
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.
We already have a link for templates
[templates]: /resources?category=templates |
The Quick Start on the old Remix docs offered a nice walkthrough/explanation of all the components of the framework.
This PR moves that doc over for reactrouter.com and updates it for v7
Resolves #12812