Starter for a multi-page React app with nested routing and forms
This project was created using this guide and you can follow the steps too to get the latest official app.
- Quick Start on the React Router site.
If you are new to React Router, that docs site has some guides and examples to get you going.
Here are the steps that were followed to make this project.
$ npx create-react-app demo-app
$ cd demo-app
$ yarn add react-router-dom
See also my other template project, which does not use React Router.
- Node.js
- Yarn
Install Yarn.
Clone the repo.
Install project packages:
$ yarn install
$ yarn start
Run tests in watch mode - only files that are changed are tested and the command stays running ready to rerun tests.
$ yarn test
Production build to build
directory.
$ yarn build
Released under MIT by @MichaelCurrin.
This project is based on the template from the React CLI, with router added using the command covered above. I have added my own docs and made minimal app changes.