Sha256: 7da29046976966c933104bf8b9287f925dd36d4bfd54c261ec02b69a32893f34

Contents?: true

Size: 535 Bytes

Versions: 4

Compression:

Stored size: 535 Bytes

Contents

import Definition, { createAsyncComponent } from 'lanes/screens/definition';
import Group from 'lanes/screens/group';

const isDev = (process.env.NODE_ENV === 'development');

<% Lanes::Screen.each_group do | group | %>
Group.register( <%= group.to_json %> );
<% end %>

<% Lanes::Screen.each do | screen | %>

    Definition.register(
        <%= screen.to_json %>,
        createAsyncComponent({ resolve: () =>
                               System.import(<%= "'#{screen.asset}'" %>)
                             })
    );
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lanes-0.8.3 templates/js/screens.js
lanes-0.8.2 templates/js/screens.js
lanes-0.8.1 templates/js/screens.js
lanes-0.8.0 templates/js/screens.js