7.24.0 • Published 2 months ago

@andes/plex v7.24.0

Weekly downloads
318
License
GPL-3.0
Repository
github
Last release
2 months ago

ANDES

Plex: UI/UX para ANDES

Plex es un conjunto de componentes de UI/UX para el proyecto ANDES.

Instalación

  1. Crear una nueva aplicación con angular-cli

    ng new my-app
    cd my-app
  2. Descargar desde npm

    npm install @andes/plex --save
  3. Crear un nuevo archivo src/styles.sass y editarlo para vincular al archivo .sass de Plex

    @import '~andes-plex/src/lib/styles.sass';
  4. Registrar en angular-cli.json los siguiente archivos:

    ...
    "styles": [
       "styles.sass",
    ],
    "scripts": [
        "../node_modules/intro.js/intro.js"
    ],
    ...
  5. Modificar app.component.html con el siguiente contenido:

    <plex-app>  
    </plex-app>
  6. Crear un componente home.component.ts con el siguiente contenido:

    import { Component } from '@angular/core';
    
    @Component({
      template: 'Hello World',
    })
    export class HomeComponent {
    }
  7. Crear el archivo app.routing.ts y registrar el componente:

    import { Routes, RouterModule } from '@angular/router';
    import { ModuleWithProviders } from '@angular/core';
    import { HomeComponent } from './home.component';
    
    const appRoutes: Routes = [
     { path: '**', component: HomeComponent } 
    ];
    
    export const appRoutingProviders: any[] = [];
    export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes);
  8. En app.module.ts importar PlexModule y registrar los routings y el servicio Plex:

    import { BrowserModule } from '@angular/platform-browser';
    import { NgModule } from '@angular/core';
    import { FormsModule } from '@angular/forms';
    import { HttpModule } from '@angular/http';
    import { Plex, PlexModule } from '@andes/plex';
    import { routing, appRoutingProviders } from './app.routing';
    
    // Components
    import { AppComponent } from './app.component';
    import { HomeComponent } from './home.component';
    
    @NgModule({
     declarations: [
       AppComponent,
       HomeComponent
     ],
     imports: [
       BrowserModule,
       FormsModule,
       HttpModule,
       PlexModule,
       routing
     ],
     providers: [
       Plex,  
       appRoutingProviders  
     ],
     bootstrap: [AppComponent]
    })
    export class AppModule { }
  9. Correr la aplicacion ng serve

    ng serve
  10. Navegar hasta http://localhost:4200

7.23.0

3 months ago

7.24.0

2 months ago

7.22.0

7 months ago

7.21.0

10 months ago

8.0.0-beta

9 months ago

7.20.0

10 months ago

7.19.1

10 months ago

7.19.0

1 year ago

7.18.2

1 year ago

7.18.1

1 year ago

7.18.0

1 year ago

7.17.0

1 year ago

7.17.3

1 year ago

7.17.1

1 year ago

7.17.2

1 year ago

7.16.0

1 year ago

7.15.0

1 year ago

7.14.0

2 years ago

7.14.1

2 years ago

7.13.0

2 years ago

7.12.1

2 years ago

7.12.0

2 years ago

7.11.0

2 years ago

7.10.0

2 years ago

7.9.1

2 years ago

7.9.0

2 years ago

7.8.0

2 years ago

7.7.0

2 years ago

7.6.0

2 years ago

7.5.0

2 years ago

7.4.0

2 years ago

7.3.1

2 years ago

8.0.0-alpha.9

2 years ago

8.0.0-alpha.7

2 years ago

8.0.0-alpha.5

2 years ago

8.0.0-alpha.6

2 years ago

8.0.0-alpha.4

2 years ago

8.0.0-alpha.3

2 years ago

8.0.0-alpha.1

2 years ago

8.0.0-alpha.2

2 years ago

7.3.0

2 years ago

7.2.0

2 years ago

7.1.0

2 years ago

7.0.2

2 years ago

7.0.1

2 years ago

7.0.0

2 years ago

6.16.1

2 years ago

6.16.0

2 years ago

6.15.3

2 years ago

6.15.2

2 years ago

6.15.1

2 years ago

7.0.0-beta.5

2 years ago

7.0.0-beta.4

2 years ago

7.0.0-beta.3

2 years ago

6.15.0

2 years ago

6.12.0-beta.1

2 years ago

6.14.0

2 years ago

6.13.0

2 years ago

7.0.0-beta.2

2 years ago

6.11.6

2 years ago

6.12.0

2 years ago

6.11.5

2 years ago

6.11.4

2 years ago

6.11.3

2 years ago

6.11.2

2 years ago

6.11.1

2 years ago

6.11.0

2 years ago

6.10.0

2 years ago

7.0.0-beta.1

2 years ago

6.9.0

2 years ago

6.8.0

2 years ago

6.7.0

2 years ago

6.6.1

2 years ago

6.6.0

2 years ago

6.5.0

2 years ago

6.4.0

2 years ago

6.3.1

2 years ago

6.3.0

2 years ago

6.2.1

2 years ago

6.2.0

2 years ago

6.1.2

2 years ago

6.1.1

2 years ago

6.1.0

2 years ago

6.0.5

2 years ago

6.0.4

2 years ago

6.0.3

2 years ago

6.0.2

2 years ago

6.0.1

2 years ago

6.0.0

2 years ago

5.13.0

2 years ago

5.12.0

2 years ago

5.11.1

3 years ago

5.11.0

3 years ago

5.10.2

3 years ago

5.10.1

3 years ago

5.10.0

3 years ago

5.9.0

3 years ago

5.8.0

3 years ago

5.7.0

3 years ago

5.6.0

3 years ago

5.5.4

3 years ago

5.5.3

3 years ago

5.5.2

3 years ago

5.5.1

3 years ago

5.5.0

3 years ago

5.4.0

3 years ago

5.3.1

3 years ago

5.3.0

3 years ago

5.2.2

3 years ago

5.2.0

3 years ago

5.1.3

3 years ago

5.1.2

3 years ago

4.6.4

3 years ago

5.1.1

3 years ago

4.6.3

3 years ago

4.6.2

3 years ago

5.1.0

3 years ago

4.6.1

3 years ago

4.6.0

3 years ago

5.0.3

3 years ago

5.0.2

3 years ago

4.5.3

3 years ago

4.5.2

3 years ago

4.5.1

3 years ago

4.5.0

3 years ago

5.0.1

3 years ago

5.0.0

3 years ago

4.4.1

3 years ago

4.4.0

3 years ago

4.3.6

3 years ago

4.3.5

3 years ago

4.3.4

4 years ago

4.3.3

4 years ago

4.3.2

4 years ago

4.3.1

4 years ago

4.3.0

4 years ago

4.2.1

4 years ago

4.2.0

4 years ago

4.1.6

4 years ago

4.1.5

4 years ago

4.1.4

4 years ago

3.6.5

4 years ago

3.6.4

4 years ago

3.6.3

4 years ago

4.1.3

4 years ago

4.1.2

4 years ago

4.1.1

4 years ago

4.1.0

4 years ago

4.0.0

4 years ago

3.6.2

4 years ago

3.6.1

4 years ago

3.6.0

4 years ago

3.5.1

4 years ago

3.5.0

4 years ago

3.3.3

4 years ago

3.3.2

4 years ago

3.3.1

4 years ago

3.3.0

4 years ago

3.2.10

4 years ago

3.2.9

4 years ago

3.2.8

4 years ago

3.2.7

4 years ago

3.2.6

4 years ago

3.2.5

4 years ago

3.2.4

4 years ago

3.2.3

4 years ago

3.2.2

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.1.1

4 years ago

3.1.0

5 years ago

2.0.14

5 years ago

3.0.6

5 years ago

3.0.5

5 years ago

3.0.4

5 years ago

3.0.3

5 years ago

3.0.2

5 years ago

3.0.1

5 years ago

3.0.0

5 years ago

2.0.13

5 years ago

2.0.12

5 years ago

2.0.11

5 years ago

2.0.10

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.8

5 years ago

1.3.7

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.2.1

5 years ago

1.2.0

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.9.7

6 years ago

0.9.6

6 years ago

0.9.5

6 years ago

0.9.3

6 years ago

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago