GithubHelp home page GithubHelp logo

primerreact's Introduction

primerReact

Primer proyecto realizado en React

Comandos

Ejecutamos los siguiente comandos en la terminal:

  1. Inicializa un proyecto de npm.
npm init -y
  1. Instala en nuestro proyecto la libreria React y React-DOM.
npm install react react-dom
  1. Instala Babel el cual nos permite hacer nuestro código en JavaScript de versiones superiores en navegadores viejos.
npm install @babel/core babel-loader @babel/preset-env @babel/preset-react --save -dev

WebPack

  1. Instala WebPack
npm install webpack webpack-cli html-webpack-plugin html-loader file-loader --save-dev
  1. Instala WebPack Server
npm install webpack-dev-server --save-dev

Saas

  1. Instala Saas
npm install --save-dev mini-css-extract-plugin css-loader node-sass sass-loader

ESlint

npm install --save-dev eslint babel-eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y

PropTypes

  1. Los PropTypes son una propiedad de nuestros componentes que nos permiten especificar qué tipo de elementos son nuestras props: arrays, strings, números, etc.
npm install --save prop-types

JSON_SERVER

  1. Instala Json-Server para la creación de una Fake Api
sudo npm install json-server -g

primerreact's People

Contributors

gslec 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.