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