Skip to content

Instantly share code, notes, and snippets.

@wshaddix

wshaddix/app.js

Created Nov 25, 2015
Embed
What would you like to do?
export class App {
configureRouter(config, router) {
config.title = 'My Application';
config.map([
{ route: ['', 'dashboard'], name: 'dashboard', moduleId: 'dashboard', nav: true, title: 'Dashboard', settings:{icon: 'fa-tachometer'} },
{ route: 'payments', name: 'payments', moduleId: 'payments', nav: true, title: 'Payments', settings:{icon: 'fa-credit-card'} }
]);
this.router = router;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.