Merge branch 'master' of github.com:Lissy93/dashy into FEATURE/interactive-editor

This commit is contained in:
Alicia Sykes
2021-10-16 19:23:51 +01:00
3 changed files with 10 additions and 1 deletions

View File

@@ -66,7 +66,7 @@ const makeMetaTags = (defaultTitle) => ({
});
/* Routing mode, can be either 'hash', 'history' or 'abstract' */
const mode = 'history';
const mode = appConfig.routingMode || 'history';
/* List of all routes, props, components and metadata */
const router = new Router({

View File

@@ -187,6 +187,14 @@
}
}
},
"routingMode": {
"enum": [
"hash",
"history"
],
"default": "history",
"description": "The Vue routing mode to use, history mode will remove the annoying hash from the URL, but requires some extra config on some systems"
},
"cssThemes": {
"type": "array",
"description": "Theme names to be added to the dropdown",