Add new route

This commit is contained in:
Ramon Wenger 2021-12-23 12:32:24 +01:00
parent 40ab4243b8
commit 300f93e1d2
3 changed files with 29 additions and 2 deletions

View File

@ -155,6 +155,6 @@ new Vue({
el: '#app', el: '#app',
store, store,
router, router,
provide: apolloProvider.provide(), apolloProvider,
render: h => h(App), render: h => h(App),
}); });

View File

@ -0,0 +1,19 @@
<template>
<div class="create-content-block">
<h1 class="heading-1">Hello Velo</h1>
</div>
</template>
<script>
export default {
};
</script>
<style scoped lang="scss">
@import '~styles/helpers';
.create-content-block {
}
</style>

View File

@ -7,6 +7,7 @@ import {
VISIBILITY_PAGE, VISIBILITY_PAGE,
} from '@/router/module.names'; } from '@/router/module.names';
import {LAYOUT_SIMPLE} from '@/router/core.constants'; import {LAYOUT_SIMPLE} from '@/router/core.constants';
import createContentBlock from '@/pages/createContentBlock';
const moduleBase = () => import(/* webpackChunkName: "modules" */'@/pages/module/module-base'); const moduleBase = () => import(/* webpackChunkName: "modules" */'@/pages/module/module-base');
const module = () => import(/* webpackChunkName: "modules" */'@/pages/module/module'); const module = () => import(/* webpackChunkName: "modules" */'@/pages/module/module');
@ -69,7 +70,14 @@ export default [
meta: { meta: {
layout: LAYOUT_SIMPLE, layout: LAYOUT_SIMPLE,
hideNavigation: true, hideNavigation: true,
fullWidth: true fullWidth: true,
},
},
{
path: 'create-content-block',
component: createContentBlock,
meta: {
showFooter: false
}, },
}, },
], ],