Skip to content

alhuar/react_initial_explained

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ultra easy & fast setup react

  • Iniciar package.json npm init -y (defeto)

  • Instalar react npm install react react-dom --save

  • Instalar babel & presets npm install babel-cli babel-loader babel-core babel-preset-es2015 babel-preset-react --save-dev

  • Instalar webpack & webpack-dev-server npm install webpack webpack-dev-server --save-dev

  • Configurar webpack: Punto de entrada, de salida, servidor de desarrollo y loader (babel) con presets

  • Script y div id en html. setup main y App component.

  • npm install

  • en el package le meto tambien un script "start": "webpack-dev-server" uqe te arranca el server al hacer npm start

About

repo con readme.md explicando como hacer el setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 66.9%
  • HTML 33.1%