q42-cms-components
Advanced tools
Comparing version 0.2.10 to 0.2.11
@@ -20,2 +20,4 @@ require('./resources/icomoon/style.css'); | ||
Vue.component('schema-component-part', require('./schema/schema-component-part.vue')); | ||
Vue.component('redirect-test-button', require('./schema/fields/redirect-test-button.vue')); | ||
Vue.component('redirect-to', require('./schema/fields/redirect-to.vue')); | ||
@@ -27,2 +29,3 @@ var router = new VueRouter({ | ||
import { statusStore } from './tools/status-store.js'; | ||
import { crudFactory } from './crud/crud-factory.js'; | ||
@@ -43,3 +46,5 @@ export const routeComponent = doc((path, component) => { | ||
routeComponent('/cms-docs', require('./docs/docs.vue')); | ||
routeComponent('/redirects', crudFactory({ itemName: 'redirect', fields: ['description', 'from'], customFields: {'Redirect naar': 'redirect-to', 'Testen': 'redirect-test-button'} })); | ||
router.redirect({ | ||
@@ -46,0 +51,0 @@ '/': '/pages' |
{ | ||
"name": "q42-cms-components", | ||
"version": "0.2.10", | ||
"version": "0.2.11", | ||
"devDependencies": { | ||
@@ -5,0 +5,0 @@ "autoprefixer": "^6.3.6", |
800264
116
5158