Reworking static page generation
Including styles in components wasn't working with the old system.
This commit is contained in:
@@ -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