move _category.vue to root of /pages
This commit is contained in:
@@ -15,10 +15,7 @@ export default {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.menuEntries = store.map(({ title, slug }) => ({
|
||||
slug: '/categories' + slug,
|
||||
title
|
||||
}))
|
||||
this.menuEntries = store.map(({ title, slug }) => ({ title, slug }))
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import store from '../../store.json'
|
||||
import Card from '../../components/Card'
|
||||
import store from '../store.json'
|
||||
import Card from '../components/Card'
|
||||
|
||||
export default {
|
||||
data () {
|
||||
Reference in New Issue
Block a user