-
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 hacernpm start
forked from Jimeno0/react_initial_explained
-
Notifications
You must be signed in to change notification settings - Fork 0
alhuar/react_initial_explained
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
repo con readme.md explicando como hacer el setup
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 66.9%
- HTML 33.1%