How to use the senna.Route function in senna

To help you get started, we’ve selected a few senna examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github deprecate / metal-router / src / Router.js View on Github external
created() {
		this.route = new Route(this.path, () => new Router.defaultScreen(this));
		this.route.router = this;
		Router.router().addRoutes(this.route);
	}

senna

A blazing-fast Single Page Application engine

BSD-3-Clause
Latest version published 11 months ago

Package Health Score

74 / 100
Full package analysis