Adds custom CSS functionality

This commit is contained in:
Alicia Sykes
2021-05-31 15:17:54 +01:00
parent a75db93e8e
commit fdde53588e
5 changed files with 104 additions and 3 deletions

View File

@@ -14,6 +14,13 @@ try {
localPageInfo = undefined;
}
let localAppConfig;
try {
localAppConfig = JSON.parse(localStorage[localStorageKeys.APP_CONFIG]);
} catch (e) {
localAppConfig = undefined;
}
const router = new Router({
routes: [
{
@@ -23,7 +30,7 @@ const router = new Router({
props: {
sections: sections || [],
pageInfo: localPageInfo || pageInfo || defaultPageInfo,
appConfig: appConfig || {},
appConfig: localAppConfig || appConfig || {},
},
meta: {
title: 'Home Page',