mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 01:58:29 +00:00
Add AureliaSpa template (#398)
This commit is contained in:
committed by
SteveSandersonMS
parent
867e60d7fd
commit
e60ea04f86
11
templates/AureliaSpa/ClientApp/boot.ts
Normal file
11
templates/AureliaSpa/ClientApp/boot.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { Aurelia } from 'aurelia-framework';
|
||||
import 'bootstrap/dist/css/bootstrap.css';
|
||||
import 'bootstrap';
|
||||
|
||||
export function configure(aurelia: Aurelia) {
|
||||
aurelia.use.standardConfiguration();
|
||||
if (window.location.host.includes('localhost')) {
|
||||
aurelia.use.developmentLogging();
|
||||
}
|
||||
aurelia.start().then(() => aurelia.setRoot('app/components/app/app'));
|
||||
}
|
||||
Reference in New Issue
Block a user