fix(prerender): router compatible with prerender

This commit is contained in:
Manu Mtz.-Almeida
2018-04-24 22:33:19 +02:00
parent 053c375521
commit 9c7b0ca15f
9 changed files with 2045 additions and 2013 deletions

View File

@ -9,14 +9,14 @@ import { DATA_URL, STORED_DEMO_MODE_KEY, STORED_DEMO_URL_KEY } from '../helpers'
})
export class ThemeBuilder {
@State() cssText: string = '';
@State() cssText = '';
demoData: { name: string, url: string }[];
@State() demoMode: string;
@State() demoUrl: string;
@State() hoverProperty: string;
@State() propertiesUsed: string[];
themeData: { name: string }[];
@State() themeName: string = '';
@State() themeName = '';
componentWillLoad () {
return fetch(DATA_URL).then(rsp => {