packages/build-tools/console-toolkit-plugin-xconsole-fs-route/tpl/createModel.js.ejs (8 lines of code) (raw):

<% models.forEach(function(model){ %> import <%= model.componentName %> from '<%= model.importPath %>' <% }); %> export default (app) => ( <% models.forEach(function(model){ %> app.use(model) <% }); %> )