React Starter - Steps

05.04.2019

Simple! Foto de @dvandijk - Unsplash

Simple React SPA (webpack + babel)

Steps to build a simple SPA App, from scratch, using React, Babel, and Webpack.

Example app will be a Bookstore App.

1º Step : Initial setup

mkdir bookstore && cd $_

yarn init

Some questions and a new package.json after that…

yarn add -D \ 
     webpack webpack-cli \ 
     babel-loader @babel/core @babel/preset-env

touch .gitignore webpack.config.js .babelrc

echo "node_modules/" >> .gitignore

Marcado comreact, front-end

Perguntas, Comentários, Sugestões?Abra uma issue