Giter Club home page Giter Club logo

skeleton-react's Introduction

Skeleton React

Inicializar

Documentación react

npm init react-app my-app

Instalar redux

Documentación redux

npm install react-redux redux redux-thunk

Luego en una carpeta modules creamoslo que esta ahi

src/modules

Luego agregar en app.js

import { Provider } from "react-redux";
import { store } from "./modules/store/store";

<Provider store={store} >
</Provider >

Extension

Recomiendo instalar redux developer tools Extension

Tailwind

Documentación Tailwind

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p

tailwind.config.js es la configuracion general para usar estilos y configuraciones

App.css se tiene que agregar las importaciones de sus estilos

Router

Documentación React router dom 6

El enrutador de react se encuentra en en la carpeta src/router, en el archivo types.js se encuentra el path de rutas que se usa en la aplicación, en AppRouter.jsx se encuentra el enrutador global de la aplicación de ahi se decide a que partes se puede redirigir, para mas información en el README.md de su funcionamiento

Correr proyecto

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

skeleton-react's People

Contributors

luis-blash avatar

Watchers

 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.