Reworking static page generation
Including styles in components wasn't working with the old system.
This commit is contained in:
1 parent
ad6583d5dc
commit
7238643740
13 files changed
+111
-44
No files matched your search
File renamed without changes.
@@ -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>
|
||||
);
|
||||
Reference in new issue
Block a user