- Clone repo.
- Move to template_react_advanced folder with
cd template_react_advanced
. - Install package with
npm init
. - Start server with
npm run start
. - If opened a page with "Hola Mundo" all its OK.
- Change folder called template_react_advanced to one you want (example: my_new_project_name).
- If you see the console in red is normal xD, so let's fix it.
- Open folder (my_new_project_name) in text editor like VSCode.
- Open file package.jason and change "name":"template_react_advanced" for "name":"my_new_project_name" and save.
- Open file package-lock.jason and change "name":"template_react_advanced" for "name":"my_new_project_name" and save.
- That' all, open terminal and write:
npm run start
.
npm run build
.- The compiled files are located in 'dist'.
- React (react, react-dom).
- Babel (@babel/core, babel-loader, @babel/preset-env, @babel/preset-react).
- Webpack (webpack, webpack-cli, html-webpack-plugin, html-loader, webpack-dev-server, file-loader).
- SASS (mini-css-extract-plugin, css-loader, node-sass, sass-loader).
- ESLint (eslint, babel-eslint, eslint-config-airbnb, eslint-plugin-import, eslint-plugin-react, eslint-plugin-jsx-a11y).
- JSON server.
- Prop types.