mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-21 01:40:13 +01:00
feat(aot) - updated aot build
feat(aot) - fixed build fix(aot) - fixed buttons and modals providers fix(changes ) - remove unused changes
This commit is contained in:
parent
d89d176e54
commit
4112676ae9
19 changed files with 167 additions and 66 deletions
|
|
@ -3,12 +3,12 @@
|
|||
*/
|
||||
import { platformBrowser } from '@angular/platform-browser';
|
||||
import { decorateModuleRef } from './app/environment';
|
||||
import { bootloader } from '@angularclass/hmr';
|
||||
/*
|
||||
* App Module
|
||||
* our top level module that holds all of our components
|
||||
*/
|
||||
import { AppModuleNgFactory } from './app/app.module.ngfactory';
|
||||
import { AppModuleNgFactory } from '../compiled/src/app/app.module.ngfactory';
|
||||
|
||||
/*
|
||||
* Bootstrap our Angular app with a top level NgModule
|
||||
*/
|
||||
|
|
@ -17,8 +17,10 @@ export function main(): Promise<any> {
|
|||
.bootstrapModuleFactory(AppModuleNgFactory)
|
||||
.then(decorateModuleRef)
|
||||
.catch(err => console.error(err));
|
||||
|
||||
}
|
||||
|
||||
export function bootstrapDomReady() {
|
||||
document.addEventListener('DOMContentLoaded', main);
|
||||
}
|
||||
|
||||
bootloader(main);
|
||||
bootstrapDomReady();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue