Skip to content

Template to create react projects from scratch without any bloatware that comes with create-react-app.

License

Notifications You must be signed in to change notification settings

ekanshsinghal/react-starter-template

Repository files navigation

React Starter Template

MIT license GitHub Yarn npm npm Open issues Repo Size

This template repository is the easiast way to create react projects from scratch without any bloatware that comes with create-react-app.
Unlike CRA, it has only the minimum packages required to get a react project up and running. This results in a much lighter application and snappier performance.

Built With

The only extra package configured along with vanila react is added support for .scss files.

  • react 18.2.x
  • babel 7.18.x
  • webpack cli 4.x
  • sass (Dart Sass)

Note: This repository is configured with Dart-sass and not [Node Sass].

Getting Started

Prerequisites

  • npm
  • yarn

Installation

Method 1 (Recommended)

  1. Click on Use this template button in top right corner to create a new repository from this template.
  2. Give a name to your repository and click Next.
  3. Clone the repository
git clone <your repository path>        # eg. https://github.com/ekanshsinghal/react-starter-template.git
  1. Install NPM packages
cd <repository name>                    # eg. cd react-starter-template
yarn

Method 2 (clone using CLI)

  1. Clone the repository
git clone https://github.com/ekanshsinghal/react-starter-template.git
  1. Install NPM packages
cd react-starter-template
yarn

Available Scripts

In the project directory, you can run:

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

yarn run build

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!

License

Distributed under the MIT License. See LICENSE for more information.

About

Template to create react projects from scratch without any bloatware that comes with create-react-app.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published