Create Vehicle page layout
This commit is contained in:
@@ -14,6 +14,7 @@ export default {
|
||||
fetchOnServer: false,
|
||||
async fetch() {
|
||||
const { store } = this.$nuxt.context;
|
||||
if (!store.state.films.list.length) await store.dispatch("films/getList");
|
||||
if (!store.state.people.list.length) await store.dispatch("people/getList");
|
||||
if (!store.state.vehicles.list.length)
|
||||
await store.dispatch("vehicles/getList");
|
||||
@@ -42,4 +43,8 @@ html {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
main {
|
||||
min-height: calc(100vh - 64px * 2);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user