質問編集履歴
3
説明文変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -92,8 +92,114 @@
|
|
92
92
|
|
93
93
|
|
94
94
|
|
95
|
-
###
|
95
|
+
### jsonファイル
|
96
|
+
|
96
|
-
|
97
|
+
```
|
98
|
+
|
97
|
-
|
99
|
+
[
|
100
|
+
|
98
|
-
|
101
|
+
{
|
102
|
+
|
103
|
+
"number": 1,
|
104
|
+
|
105
|
+
"id": "apple",
|
106
|
+
|
107
|
+
"color": [
|
108
|
+
|
109
|
+
{
|
110
|
+
|
111
|
+
"id": "red",
|
112
|
+
|
113
|
+
"taste": [
|
114
|
+
|
115
|
+
{
|
116
|
+
|
117
|
+
"id":"like"
|
118
|
+
|
119
|
+
}
|
120
|
+
|
121
|
+
]
|
122
|
+
|
123
|
+
},
|
124
|
+
|
125
|
+
{
|
126
|
+
|
127
|
+
"id":"green",
|
128
|
+
|
129
|
+
"taste": [
|
130
|
+
|
131
|
+
{
|
132
|
+
|
133
|
+
"id":"unlike"
|
134
|
+
|
135
|
+
}
|
136
|
+
|
137
|
+
]
|
138
|
+
|
139
|
+
}
|
140
|
+
|
141
|
+
]
|
142
|
+
|
143
|
+
},
|
144
|
+
|
145
|
+
{
|
146
|
+
|
147
|
+
"number": 2,
|
148
|
+
|
149
|
+
"id": "watermeron",
|
150
|
+
|
151
|
+
"color": [
|
152
|
+
|
153
|
+
{
|
154
|
+
|
155
|
+
"id": "yellow",
|
156
|
+
|
157
|
+
"taste": [
|
158
|
+
|
159
|
+
{
|
160
|
+
|
161
|
+
"id":"like"
|
162
|
+
|
163
|
+
}
|
164
|
+
|
165
|
+
]
|
166
|
+
|
167
|
+
},
|
168
|
+
|
169
|
+
{
|
170
|
+
|
171
|
+
"id":"purple",
|
172
|
+
|
173
|
+
"taste": [
|
174
|
+
|
175
|
+
{
|
176
|
+
|
177
|
+
"id":"unlike"
|
178
|
+
|
179
|
+
}
|
180
|
+
|
181
|
+
]
|
182
|
+
|
183
|
+
}
|
184
|
+
|
185
|
+
]
|
186
|
+
|
187
|
+
}
|
188
|
+
|
189
|
+
]
|
190
|
+
|
191
|
+
```
|
192
|
+
|
193
|
+
### 以下ページ構成です
|
194
|
+
|
195
|
+
pages/index.vue
|
196
|
+
|
197
|
+
pages/_fruitsId/index.vue
|
198
|
+
|
199
|
+
pages/_fruitsId/_colorsId/index.vue
|
200
|
+
|
201
|
+
pages/_fruitsId/_colorsId/_choiceId/index.vue
|
202
|
+
|
203
|
+
|
204
|
+
|
99
|
-
|
205
|
+
ご教授願えますでしょうか?宜しくお願いいたします
|
2
nuxt.js変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,7 +54,7 @@
|
|
54
54
|
|
55
55
|
```
|
56
56
|
|
57
|
-
const kudamonoList = require('./data/a
|
57
|
+
const kudamonoList = require('./data/kudamono.json');
|
58
58
|
|
59
59
|
module.exports = {
|
60
60
|
|
1
nuxt.jsを変更しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -68,7 +68,9 @@
|
|
68
68
|
|
69
69
|
i.push(`${item.id}`);
|
70
70
|
|
71
|
-
i.push(`${item.id}/${item.
|
71
|
+
i.push(`${item.id}/${item.color.id}}`);
|
72
|
+
|
73
|
+
i.push(`${item.id}/${item.color.id}/${item.color.taste.id}}`);
|
72
74
|
|
73
75
|
});
|
74
76
|
|