An open API service indexing awesome lists of open source software.

https://github.com/devbyray/reactjs-webpack-babel-postcss

This repo is based on: https://github.com/alicoding/react-webpack-babel
https://github.com/devbyray/reactjs-webpack-babel-postcss

Last synced: 4 months ago
JSON representation

This repo is based on: https://github.com/alicoding/react-webpack-babel

Awesome Lists containing this project

README

          

# react-webpack-babel
Simple React Webpack Babel Starter Kit

This is a simple [React](https://facebook.github.io/react/), [Webpack](http://webpack.github.io/) and [Babel](https://babeljs.io/) application with nothing else in it.

### What's in it?

Just a simple [index.jsx](./index.jsx), [webpack.config.js](./webpack.config.js) and [index.html](./public/index.html) file.

### To run

Install webpack and the development server:

```
> $ npm i webpack-dev-server webpack -g
```

You can simply run webpack build using this command:

```
> $ npm run build
```

If you want to run with webpack-dev-server simply run this command:

```
> $ npm run dev
```

Open the web browser to `http://localhost:8080/`

Please contribute to the project if you think this can be done better in anyway even for this README :)