Adds menu to Config popup, adds delete and download functionality
This commit is contained in:
@@ -2,9 +2,12 @@ import Vue from 'vue';
|
||||
import Router from 'vue-router';
|
||||
import Home from './views/Home.vue';
|
||||
import conf from '../public/conf.yml'; // Main site configuration
|
||||
import { pageInfo as defaultPageInfo } from './utils/defaults';
|
||||
|
||||
Vue.use(Router);
|
||||
|
||||
const { sections, pageInfo, appConfig } = conf;
|
||||
|
||||
const router = new Router({
|
||||
routes: [
|
||||
{
|
||||
@@ -12,8 +15,9 @@ const router = new Router({
|
||||
name: 'home',
|
||||
component: Home,
|
||||
props: {
|
||||
sections: conf.sections || [],
|
||||
appConfig: conf.appConfig || {},
|
||||
sections: sections || [],
|
||||
pageInfo: pageInfo || defaultPageInfo,
|
||||
appConfig: appConfig || {},
|
||||
},
|
||||
meta: {
|
||||
title: 'Home Page',
|
||||
|
||||
Reference in New Issue
Block a user