- Clone repo.
- Move to TemplateReact folder with
cd TemplateReact
. - Install package with
npm init
. - Start server with 'npm run start`.
- If opened a page with "Hola Mundo" all its OK.
- Change folder called TemplateReact 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":"TemplateReact" for "name":"my_new_project_name" and save.
- Open file package-lock.jason and change "name":"TemplateReact" for "name":"my_new_project_name" and save.
- That' all, open terminal and write:
npm run start
.
npm run build
.- The compile 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).