javascript - Meteor - layoutTemplate in RouteController.extend in package.js -


i have problem iron-router controllers in package. code:

router.map(function() {   this.route('registration.index', {path: '/registration'}); });   registrationindexcontroller = routecontroller.extend({   layouttemplate: 'intranetlayoutsimple'   ... }); 

layouttemplate not working

if you're creating new route controllers inside package , want use them in main app, remember export it, e.g.:

api.export('registrationindexcontroller', ['client', 'server']); in package.js


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -