0.3.5 • Published 2 years ago
@xeito/router v0.3.5
Xeito Router
This is the Router library for Xeito Framework. Provides a simple yet powerful router for web applications built with Xeito.
To find the full documentation and more links go to the main README file.
Exports:
Classes:
XeitoRouterPlugin
: The Router Plugin class, intented to be registered in a Xeito application.
Example:
import { Xeito } from '@xeito/core';
import { XeitoRouterPlugin } from '@xeito/router';
import { AppComponent } from './app-component.ts';
const app = new Xeito(AppComponent);
app.usePlugin(XeitoRouterPlugin, {
routes: [
{
path: '/',
component: HomeComponent,
},
{
path: '/about',
component: AboutComponent,
},
],
});
app.bootstrap();
Components:
RouterSlot
: The component that renders the current route component (and nested views).RouterLink
: Helper component to create links from the template.
Interfaces
Route
: The interface for injectable metadata (decorator).RouteGuard
: The interface for route guards.RouterOptions
: The interface for the Router Plugin options (see example above).XeitoRouter
: The interface for the XeitoRouter global property
0.3.5
2 years ago
0.3.4
2 years ago
0.3.3
2 years ago
0.3.2
2 years ago
0.3.1
2 years ago
0.3.0
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.13
2 years ago
0.1.12
2 years ago
0.1.11
2 years ago
0.1.10
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.5
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago
0.0.8
3 years ago
0.0.7
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago