add blank layout
This commit is contained in:
parent
6d988d3a5c
commit
3369d0fbb7
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue