JSPM

cra-template-onboarding

0.1.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 2
    • Score
      100M100P100Q12854F

    Package Exports

    • cra-template-onboarding

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cra-template-onboarding) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Onboarding template

    Template para generar la base del onboarding.

    Instalación

    npx create-react-app <project-name> --template cra-template-onboarding

    npm install

    npm start

    Configuración

    Editar el archivo config/index.js y agregar todos los pasos necesarios

    const steps = [
      {
        name: 'Step Name',
        description: 'Step description (can be empty)'
      },
      {
        name: 'Step Name 2',
        description: 'Step Description'
      }
    ];
    
    export { steps };

    Esto genera la lista de pasos y el comportamiento basico para que los botones siguiente y atrás actualicen el paso actual.

    This project was bootstrapped with Create React App.