Skip to content

A react started configured from scratch with webpack and babel

License

Notifications You must be signed in to change notification settings

ivange94/react-starter-webpack

Repository files navigation

react-starter-webpack

A react started configured from scratch with webpack and babel.

Introduction

If you're starting a new React project, the recommended way is to use Create React App. But in those rare occassions where you need to configure your own React project from scratch, this template is for you. This gives you control of webpack beyond what's provided by create-react-app.

Features

  • Support for .jsx extensions
  • Support for CSS
  • Support for SASS
  • Support for TypeScript
  • Dev server for live reload
  • Production build

Setup

Clone the project

$ git clone https://github.com/ivange94/react-starter-webpack.git appName

Where appName represents the app you're trying to build

Build

$ cd appName
$ npm install
$ npm run build

This will generate a /dist folder with you can deploy.

Run development server

$ npm start

This will spin up a dev server on http://localhost:8080/ with live reload enabled.

Happy Coding!!!

Releases

No releases published

Packages

No packages published