React Templates is a starter kit tool that makes it easy for developers, especially frontend web developers, to start their projects from scratch using the React Js library. This tool is already packed with plugins or other libraries which are generally used by React JavaScript developers.
The main features of the React Templates include:
- React starter kit
- CRA (create-react-app)
- Routing and navigation
- React Router a tool to manage root url pages
- Flux architecture
- UI Toolkit & Styling
- Twin.macro, Twin blends the magic of Tailwind with the flexibility of css-in-js.
- Styled-components, Visual primitives for the component age
- Utilities and other tools
This should be installed on your computer in order to get up and running:
let's start using the React Starter project by following the steps below.
- Clone Repo Make sure you have a React boilerplate clone repository.
git clone https://github.com/alaunal/react-templates.git [project-name]
- Setup git config
// -- remove git config $ rm -rf .git // -- resetup git $ init git
- Install dependencies
npm install
If you have done the syntax above before, there is no need to do a step 3 process. but if you are not sure then just do it for check updated.
In the project directory, you can run:
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
See the section about deployment for more information.