fix error in all libraries
This commit is contained in:
@@ -2,13 +2,12 @@ import { Component } from '@angular/core';
|
||||
import {RouterLink, RouterLinkActive, RouterOutlet} from '@angular/router';
|
||||
import { NzLayoutModule } from 'ng-zorro-antd/layout';
|
||||
import { NzMenuModule } from 'ng-zorro-antd/menu';
|
||||
import {NzFlexDirective} from "ng-zorro-antd/flex";
|
||||
import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
import {ModalNav} from "./components/modalNav/modalNav";
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
imports: [RouterOutlet, NzLayoutModule, NzMenuModule, NzFlexDirective, NzIconDirective, RouterLinkActive, RouterLink, ModalNav],
|
||||
imports: [RouterOutlet, NzLayoutModule, NzMenuModule, NzIconDirective, RouterLinkActive, RouterLink, ModalNav],
|
||||
templateUrl: './app.html',
|
||||
styleUrl: './app.css'
|
||||
})
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {StockInfo} from "../../interfaces/stock.interface";
|
||||
import {NzTableComponent} from "ng-zorro-antd/table";
|
||||
import {NzButtonComponent} from "ng-zorro-antd/button";
|
||||
import {ModalNav} from "../../components/modalNav/modalNav";
|
||||
import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
|
||||
@@ -9,7 +8,6 @@ import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
selector: 'app-stock-table',
|
||||
imports: [
|
||||
NzTableComponent,
|
||||
NzButtonComponent,
|
||||
ModalNav,
|
||||
NzIconDirective
|
||||
],
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {NzTableComponent} from "ng-zorro-antd/table";
|
||||
import {StockTable} from "../../compontents/stock-table/stock-table";
|
||||
|
||||
@Component({
|
||||
selector: 'app-stock',
|
||||
imports: [
|
||||
NzTableComponent,
|
||||
StockTable
|
||||
],
|
||||
templateUrl: './stock.html',
|
||||
|
||||
@@ -4,10 +4,7 @@ import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
|
||||
@Component({
|
||||
selector: 'app-welcome',
|
||||
imports: [
|
||||
ModalNav,
|
||||
NzIconDirective
|
||||
],
|
||||
imports: [],
|
||||
templateUrl: './welcome.html',
|
||||
styleUrl: './welcome.css'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user