Giter VIP home page Giter VIP logo

return-of-the-react-boilerplate's Introduction

The return of React boilerplate with Babel and Webpack

Since webpack evolved from v4.x to v5.x several projects have had some issues updating. This repo contains a functional combo of React 17.x, babel 7.x and webpack 5.x.

This tutorial was followed taking into account the need to update the dependencies' versions.

Console history:

npm init
git init
mkdir public src
touch .gitignore
touch public/index.html
npm install --save-dev @babel/core @babel/cli @babel/preset-env @babel/preset-react
touch .babelrc
git commit -m "Setup with babel"

npm install --save-dev webpack webpack-cli webpack-dev-server style-loader css-loader babel-loader
touch webpack.config.js
git add .
git commit -m "Add webpack"

npm install react react-dom
touch src/index.js
touch src/app.jsx
touch src/app.scss
git commit -m "Render some hello world!"

return-of-the-react-boilerplate's People

Contributors

ritamcastro avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.