Sha256: e3c05776b85514367d3c0b4edc4c54ed84b52bb9f07a35b989ebc3f6c4105ee2

Contents?: true

Size: 1.18 KB

Versions: 6

Compression:

Stored size: 1.18 KB

Contents

import AppLayout from '@/layouts/app.vue'
import PagePreview from '@/views/page-preview.vue'
import SlidePane from '@/views/slide-pane.vue'
import SlidePane2 from '@/views/slide-pane2.vue'
import pageRoutes from './page'
import sectionRoutes from './section'
import sectionBlockRoutes from './section-block'
import styleRoutes from './style'

export default [
  {
    path: '/',
    name: 'home',
    redirect: '/index',
  },
  {
    path: '/:locale/:pageId',
    component: AppLayout,
    children: [
      {
        path: '',
        name: 'editPage',
        components: {
          default: PagePreview,
        },
        props: { default: true },
      },
      {
        path: 'foo-test',
        name: 'test',
        components: {
          default: PagePreview,
          'slide-pane': SlidePane,
        },
        props: { default: true },
        meta: { hidingSidebar: true },
      },
      {
        path: 'foo-test2',
        name: 'test2',
        components: {
          default: PagePreview,
          'slide-pane': SlidePane2,
        },
        props: { default: true },
      },
      ...pageRoutes,
      ...sectionRoutes,
      ...sectionBlockRoutes,
      ...styleRoutes,
    ],
  },
]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
maglevcms-1.1.5 app/frontend/editor/router/routes/base.js
maglevcms-1.1.4 app/frontend/editor/router/routes/base.js
maglevcms-1.1.3 app/frontend/editor/router/routes/base.js
maglevcms-1.1.2 app/frontend/editor/router/routes/base.js
maglevcms-1.1.1 app/frontend/editor/router/routes/base.js
maglevcms-1.1.0 app/frontend/editor/router/routes/base.js