UNPKG

generator-mithril-webpack

Version:

Yeoman generator for Mithril.js applications utilizing ES6 and WebPack

9 lines 199 B
'###newRouteURL###': { controller: function() { require.ensure([], () => { routes['###newRouteURL###'] = require('###newRoutePath###'); m.route(m.route()); lazyLoad(); }) } },