mirror of https://github.com/abpframework/abp.git
6 changed files with 50 additions and 35 deletions
@ -1,7 +1,7 @@ |
|||||
import { bootstrapApplication } from '@angular/platform-browser'; |
import { bootstrapApplication } from '@angular/platform-browser'; |
||||
import { AppComponent } from './app/app.component'; |
import { AppComponent } from './app/app.component'; |
||||
import { config } from './app/app.config.server'; |
import { createAppConfig } from './app/app.config'; |
||||
|
|
||||
const bootstrap = () => bootstrapApplication(AppComponent, config); |
const bootstrap = () => bootstrapApplication(AppComponent, createAppConfig(true)); |
||||
|
|
||||
export default bootstrap; |
export default bootstrap; |
||||
|
|||||
@ -1,5 +1,5 @@ |
|||||
import { bootstrapApplication } from '@angular/platform-browser'; |
import { bootstrapApplication } from '@angular/platform-browser'; |
||||
import { appConfig } from './app/app.config'; |
import { createAppConfig } from './app/app.config'; |
||||
import { AppComponent } from './app/app.component'; |
import { AppComponent } from './app/app.component'; |
||||
|
|
||||
bootstrapApplication(AppComponent, appConfig).catch(err => console.error(err)); |
bootstrapApplication(AppComponent, createAppConfig(false)).catch(err => console.error(err)); |
||||
|
|||||
Loading…
Reference in new issue