Quick Start
Get started on your project with Berry React Template.
Installation
Navigate to your root folder (ex. berry-material-react)
Install Packages by npm or yarn as per your preferences. Here we are using yarn package manager.
Start
After package installation, you can start your app by using yarn start command
For NextJS use yarn dev command
This will start your local server at http://localhost:3000 Also, your terminal shows the following.
Build & Deploy
This might be too early to deploy but it is always good to know how to deploy.
To build your app in production use yarn build command
Deploy for your live site
Change the base URL with your domain and build your application.
You can control this with the homepage field in your package.json
Deploying to the subdirectory is stopped after migrating to 6.0.0-beta.0 of react-route. Watch this issue for more: https://github.com/ReactTraining/react-router/issues/7216
Last updated
Was this helpful?