Skip to content

Uxiliary/React-ES6-Boilerplate

Repository files navigation

React-ES6-Boilerplate

ayee

The quickest way to start hacking on a new React-ES6(and beyond) project!

Install

Simply clone the repo and run:

  • npm install
  • npm start

Is it working?

After running npm start visit localhost:8080

  • (this is the default webpack-dev-server port)

If everything is set up properly, you should see a welcome message on the screen that looks like this:

Imgur

Styles (css, sass, etc.)

To style your components, you can make use of app/style which contains a single sass file.

Add as many additional files as you want. Wherever you need to use those styles, simply import the file like you would any other module. See app/js/index.jsto view an example.

You're all set!

Start hacking away!

Most of your work will be done inside of app/js

If you're new to using React with ES6 you can use the content inside of app/js/ as an example of how to create ES6 components!

This is a baseline for new React-ES6 projects, add whatever modules you want!

The world is yours!

About

The quickest and most minimal way to start hacking on a new React-ES6 project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published