Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aurelia-router

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-router - npm Package Compare versions

Comparing version 1.0.0-rc.1.0.4 to 1.0.0-rc.1.0.5

2

bower.json
{
"name": "aurelia-router",
"version": "1.0.0-rc.1.0.4",
"version": "1.0.0-rc.1.0.5",
"description": "A powerful client-side router.",

@@ -5,0 +5,0 @@ "keywords": [

---
{
"name": "Router: Configuration",
"name": "Router Configuration",
"culture": "en-US",

@@ -18,4 +18,3 @@ "description": "This article covers Aurelia's router configuration.",

> Info
> To use Aurelia's router your component view must have a `<router-view></router-view>` element. In order to configure the router, the component's view-model requires a `configureRouter()` function.
To use Aurelia's router, your component view must have a `<router-view></router-view>` element. In order to configure the router, the component's view-model requires a `configureRouter()` function.

@@ -63,4 +62,3 @@ <code-listing heading="app.html">

> Info
> You can also call `mapRoute()` on a single route configuration.
You can also call `mapRoute()` on a single route configuration.

@@ -209,3 +207,3 @@ * `config.map()` adds route(s) to the router. Although only route, name, moduleId, href and nav are shown above there are other properties that can be included in a route. The class name for each route is `RouteConfig`.

<code-listing heading="Making a Route Case Sensitive">
<code-listing heading="Making a Route Case-Sensitive">
<source-code lang="ES 2015/2016">

@@ -253,3 +251,3 @@ export class App {

<code-listing heading="Basic Unknown Route Configuration">
<code-listing heading="Static Unknown Routes">
<source-code>

@@ -385,4 +383,2 @@ <source-code lang="ES 2015/2016">

### Authorize Pipeline
<code-listing heading="An Authorize Step">

@@ -448,4 +444,2 @@ <source-code lang="ES 2015/2016">

### Create A PreActivate Pipeline
<code-listing heading="A PreActivate Step">

@@ -496,4 +490,2 @@ <source-code lang="ES 2015/2016">

### Create A Pre Render Pipeline
<code-listing heading="A PreRender Step">

@@ -542,4 +534,2 @@ <source-code lang="ES 2015/2016">

### Create a Post Render Pipeline
<code-listing heading="A PostRender Step">

@@ -635,3 +625,3 @@ <source-code lang="ES 2015/2016">

> Info
> Specifying layout on the <router-view> element will set the default layout for all routes.
> Specifying layout on the `<router-view>` element will set the default layout for all routes.

@@ -638,0 +628,0 @@ Similar to MVC-style master/layout pages, Aurelia allows configuration of multiple layouts. Here are the properties for creating layouts:

{
"name": "aurelia-router",
"version": "1.0.0-rc.1.0.4",
"version": "1.0.0-rc.1.0.5",
"description": "A powerful client-side router.",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc