mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Update Aurelia SPA template
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import 'isomorphic-fetch';
|
||||
import { Aurelia } from 'aurelia-framework';
|
||||
import { Aurelia, PLATFORM } from 'aurelia-framework';
|
||||
import 'bootstrap/dist/css/bootstrap.css';
|
||||
import 'bootstrap';
|
||||
declare const IS_DEV_BUILD: boolean; // The value is supplied by Webpack during the build
|
||||
@@ -11,5 +11,5 @@ export function configure(aurelia: Aurelia) {
|
||||
aurelia.use.developmentLogging();
|
||||
}
|
||||
|
||||
aurelia.start().then(() => aurelia.setRoot('app/components/app/app'));
|
||||
aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app/components/app/app')));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user