Skip to content

this for anyone who learn react js from scratch with depenceny management and task runner

Notifications You must be signed in to change notification settings

aldente05/react-js-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quick Start on ReactJS!

development

To run the code in your development environment:

  1. Clone this repo
  2. Run npm install
  3. Run bower install

Now with all dependencies installed

  1. Start the development server for seed project with npm run dev
  2. Point your browser to http://localhost:8000

bundled with Webpack

webpack is a module bundler. This means webpack takes modules with dependencies and emits static assets representing those modules.

smartadmin is shipping with two webpack.config.js files:

  • one for development (npm run dev)
  • one for production ready build (npm run build)

common stuff is separated in webpack/base.config.js

some features

  • babel transpiling (you can use es6 syntax for development, and babel transpiles it to es5 javascript which all browsers are familiar with)
  • in dev mode:
    1. hot module replace
    2. fast project rebuild
  • for production:
    1. obfuscation,
    2. minification

About

this for anyone who learn react js from scratch with depenceny management and task runner

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published