質問編集履歴
1
ソースコード追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -62,7 +62,7 @@
|
|
62
62
|
|
63
63
|
```
|
64
64
|
|
65
|
-
home-routing.module.ts
|
65
|
+
home-routing.module.ts(ボタン押下で、このpath: 'settings'に来ていることは確認済み)
|
66
66
|
|
67
67
|
```ここに言語を入力
|
68
68
|
|
@@ -100,6 +100,66 @@
|
|
100
100
|
|
101
101
|
```
|
102
102
|
|
103
|
+
settings.module.ts
|
104
|
+
|
105
|
+
```
|
106
|
+
|
107
|
+
@NgModule({
|
108
|
+
|
109
|
+
imports: [
|
110
|
+
|
111
|
+
CommonModule,
|
112
|
+
|
113
|
+
FormsModule,
|
114
|
+
|
115
|
+
IonicModule,
|
116
|
+
|
117
|
+
FavSettingsPageRoutingModule
|
118
|
+
|
119
|
+
],
|
120
|
+
|
121
|
+
declarations: [FavSettingsPage]
|
122
|
+
|
123
|
+
})
|
124
|
+
|
125
|
+
export class FavSettingsPageModule {}
|
126
|
+
|
127
|
+
```
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
settings-routing.module.ts
|
132
|
+
|
133
|
+
```
|
134
|
+
|
135
|
+
const routes: Routes = [
|
136
|
+
|
137
|
+
{
|
138
|
+
|
139
|
+
path: '',
|
140
|
+
|
141
|
+
component: FavSettingsPage
|
142
|
+
|
143
|
+
}
|
144
|
+
|
145
|
+
];
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
@NgModule({
|
150
|
+
|
151
|
+
imports: [RouterModule.forChild(routes)],
|
152
|
+
|
153
|
+
exports: [RouterModule],
|
154
|
+
|
155
|
+
})
|
156
|
+
|
157
|
+
export class FavSettingsPageRoutingModule {}
|
158
|
+
|
159
|
+
```
|
160
|
+
|
161
|
+
|
162
|
+
|
103
163
|
tabs-routing.module.ts
|
104
164
|
|
105
165
|
```ここに言語を入力
|