mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-22 17:47:53 +00:00
16 lines
464 B
TypeScript
16 lines
464 B
TypeScript
import 'isomorphic-fetch';
|
|
import { Aurelia } 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
|
|
|
|
export function configure(aurelia: Aurelia) {
|
|
aurelia.use.standardConfiguration();
|
|
|
|
if (IS_DEV_BUILD) {
|
|
aurelia.use.developmentLogging();
|
|
}
|
|
|
|
aurelia.start().then(() => aurelia.setRoot('app/components/app/app'));
|
|
}
|