mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
docs(demos): update segment module
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
|
import { FormsModule } from '@angular/forms';
|
||||||
|
import { IonicAngularModule } from '@ionic/angular';
|
||||||
|
|
||||||
import { SegmentPageComponent } from './segment-page.component';
|
import { SegmentPageComponent } from './segment-page.component';
|
||||||
import { SegmentRoutingModule } from './segment-routing.module';
|
import { SegmentRoutingModule } from './segment-routing.module';
|
||||||
@ -7,7 +9,9 @@ import { SegmentRoutingModule } from './segment-routing.module';
|
|||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule,
|
CommonModule,
|
||||||
SegmentRoutingModule
|
FormsModule,
|
||||||
|
SegmentRoutingModule,
|
||||||
|
IonicAngularModule
|
||||||
],
|
],
|
||||||
declarations: [SegmentPageComponent],
|
declarations: [SegmentPageComponent],
|
||||||
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
||||||
|
Reference in New Issue
Block a user