The quickest way to start hacking on a new React-ES6(and beyond) project!
Simply clone the repo and run:
npm install
npm start
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:
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.js
to
view an example.
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!