mirror of
https://github.com/SuiteCRM/SuiteCRM-Core.git
synced 2025-08-29 04:21:06 +08:00
Update app from 17 to 18
This commit is contained in:
parent
5cd8c94615
commit
c1171e1da4
513 changed files with 2528 additions and 3248 deletions
|
@ -3,19 +3,12 @@ import {NgModule} from '@angular/core';
|
|||
|
||||
import {AppComponent} from './app.component';
|
||||
import {ExtensionModule} from '../extension.module';
|
||||
import {HttpClientModule} from '@angular/common/http';
|
||||
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@NgModule({ declarations: [
|
||||
AppComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
HttpClientModule,
|
||||
ExtensionModule
|
||||
],
|
||||
providers: [],
|
||||
bootstrap: [AppComponent]
|
||||
})
|
||||
bootstrap: [AppComponent], imports: [BrowserModule,
|
||||
ExtensionModule], providers: [provideHttpClient(withInterceptorsFromDi())] })
|
||||
export class AppModule {
|
||||
}
|
||||
|
|
|
@ -1,14 +1,7 @@
|
|||
import {NgModule} from '@angular/core';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {HttpClientModule} from '@angular/common/http';
|
||||
@NgModule({
|
||||
declarations: [],
|
||||
imports: [
|
||||
CommonModule,
|
||||
HttpClientModule,
|
||||
],
|
||||
providers: []
|
||||
})
|
||||
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
||||
@NgModule({ declarations: [], imports: [CommonModule], providers: [provideHttpClient(withInterceptorsFromDi())] })
|
||||
export class ExtensionModule {
|
||||
constructor() {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue