Skip to content

A local dev environment/starter kit for React apps, includes Mojs library

Notifications You must be signed in to change notification settings

seajsws/react-mojs-dev-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-mojs-dev-env

A local dev environment/starter kit for React apps, includes Mojs library. Adapted from a tutorial on Scotch.io

####More Info: Yarn package manager Webpack Babel mojs.io : Motion for the Web

After this week's Mojs hack night, I decided it was high time to put together a basic, all-purpose starter kit for react/babel/es6 projects. Since Mojs relies on the babel runtime, this will allow you to experiment with the library as well as try integrating it into a React app, if so inclined.

###Instructions

  1. Clone the repo
  2. Install Yarn - follow the instructions from the link above. Requires NodeJS.
  3. Type yarn install to install dependencies - it works much like npm (at least for the basics)
  4. Once you have all the dependencies installed, type yarn start to build the app and run webpack dev server. In a browser, visit the address listed in your console to see the working example!
  5. As you make changes, leave webpack dev server running in the background - the app will rebuild itself and refresh the page. You may also need to manually refresh the browser window from time to time.
  6. This project was assembled on a Windows 10 computer so it should work fine for a variety of OSes, depending on your version of Node.
  7. Feel free to make changes to the config files and submit pull requests! Pursue much win and profit!! 🔥🤘

About

A local dev environment/starter kit for React apps, includes Mojs library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published