15 lines
418 B
Handlebars
15 lines
418 B
Handlebars
import { loadComponent } from '../engine/web/common/webpack/assets/components/bootstrap';
|
|
|
|
// Load all non-lazy components
|
|
|
|
let component, name;
|
|
{{#each components }}
|
|
{{#if this.version_js }}
|
|
component = require("{{ this.file_js }}");
|
|
loadComponent("{{ this.class }}", component, {{{ this.selector }}});
|
|
{{/if}}
|
|
{{#if this.version_css }}
|
|
require("{{ this.file_css }}");
|
|
{{/if}}
|
|
{{/each}}
|