Skip to content

Commit

Permalink
fix(webpack): recognize router-view attributes
Browse files Browse the repository at this point in the history
layout-view and layout-view-model are module ids.

Closes aurelia/router#492
  • Loading branch information
jods4 committed Jul 20, 2017
1 parent f22a7c0 commit 1ea5f37
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/html-requires-loader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ namespace loader {
export let attributes = {
"require": [ "from" ],
"compose": [ "view", "view-model" ],
"router-view": [ "layout-view", "layout-view-model" ],
};

export function modules(html: string) {
Expand Down

0 comments on commit 1ea5f37

Please sign in to comment.