質問編集履歴
1
App.vueについて追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -64,7 +64,7 @@
|
|
64
64
|
|
65
65
|
```vue
|
66
66
|
|
67
|
-
footerComponent.vue
|
67
|
+
footerComponent.vue:
|
68
68
|
|
69
69
|
<li><router-link to="/blogs/foo">foo page</router-link></li>
|
70
70
|
|
@@ -74,7 +74,7 @@
|
|
74
74
|
|
75
75
|
```js
|
76
76
|
|
77
|
-
router/index.js
|
77
|
+
router/index.js:
|
78
78
|
|
79
79
|
{
|
80
80
|
|
@@ -104,6 +104,34 @@
|
|
104
104
|
|
105
105
|
|
106
106
|
|
107
|
+
```vue
|
108
|
+
|
109
|
+
App.vue:
|
110
|
+
|
111
|
+
<template>
|
112
|
+
|
113
|
+
<HeaderComponent />
|
114
|
+
|
115
|
+
<router-view />
|
116
|
+
|
117
|
+
<FooterComponent />
|
118
|
+
|
119
|
+
</template>
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
<script>
|
124
|
+
|
125
|
+
import HeaderComponent from '@/components/HeaderComponent.vue'
|
126
|
+
|
127
|
+
import FooterComponent from '@/components/FooterComponent.vue'
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
```
|
132
|
+
|
133
|
+
|
134
|
+
|
107
135
|
### 試したこと
|
108
136
|
|
109
137
|
|