mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-11-22 16:23:35 +01:00
16 lines
318 B
Plaintext
16 lines
318 B
Plaintext
|
<% if (page) { %>
|
||
|
|
||
|
import { renderPage } from './static/js/utils/renderer';
|
||
|
|
||
|
<% if (page.component) { %>
|
||
|
|
||
|
import { <%= page.component %> } from './static/js/pages/<%= page.component %>';
|
||
|
|
||
|
<% if (page.id) { %>
|
||
|
renderPage( '<%= page.id %>', <%= page.component %> );
|
||
|
<% } %>
|
||
|
|
||
|
<% } %>
|
||
|
|
||
|
<% } %>
|