Reworking static page generation

Including styles in components wasn't working with the old system.
This commit is contained in:
Jeff Avallone
2018-02-13 17:10:32 -05:00
parent ad6583d5dc
commit 7238643740
13 changed files with 111 additions and 44 deletions
-13
View File
@@ -1,13 +0,0 @@
import 'babel-register';
import React from 'react';
import '../../i18n';
import PageTemplate, { renderToString } from '../../components/PageTemplate';
import Component from './Component';
export default renderToString(
<PageTemplate>
<Component/>
</PageTemplate>
);