UNPKG

aurelia-validatejs

Version:

This is a plugin that will allow using validate.js in your Aurelia application for expressive validation.

11 lines (10 loc) 357 B
export class App { configureRouter(config, router) { config.title = 'aurelia-validate.js'; config.map([ { route: ['', 'decorators'], name: 'decorators', moduleId: 'decorators', nav: true, title: 'Decorators' }, { route: 'fluent', name: 'fluent', moduleId: 'fluent', nav: true, title: 'Fluent' } ]); this.router = router; } }