add blank layout

This commit is contained in:
Christian Cueni 2018-10-09 10:22:54 +02:00
parent 6d988d3a5c
commit 3369d0fbb7
3 changed files with 22 additions and 1 deletions

View File

@ -8,6 +8,7 @@
<script>
import DefaultLayout from '@/layouts/DefaultLayout';
import SimpleLayout from '@/layouts/SimpleLayout';
import BlankLayout from '@/layouts/BlankLayout';
import Modal from '@/components/Modal';
import NewContentBlockWizard from '@/components/content-block-form/NewContentBlockWizard';
import EditContentBlockWizard from '@/components/content-block-form/EditContentBlockWizard';
@ -19,6 +20,7 @@
components: {
DefaultLayout,
SimpleLayout,
BlankLayout,
Modal,
NewContentBlockWizard,
EditContentBlockWizard,

View File

@ -0,0 +1,19 @@
<template>
<div class="blank-layout">
<router-view></router-view>
</div>
</template>
<style lang="scss">
.blank-layout {
margin-top: 60px;
}
</style>
<script>
export default {
components: {},
}
</script>

View File

@ -16,7 +16,7 @@ import p404 from '@/pages/p404'
import start from '@/pages/start'
const routes = [
{path: '/', component: start},
{path: '/', component: start, meta: {layout: 'blank'}},
{
path: '/module/:slug',
component: moduleBase,