Where to put a separate admin interface for a Meteor app?

后端 未结 6 2167
时光说笑
时光说笑 2021-02-14 08:56

I\'m trying to build a smart package for Meteor app that provides some monitoring capabilities and other tools based on the features of the smart package. For more details read

6条回答
  •  一生所求
    2021-02-14 09:52

    As James Hatfield pointed out, Iron-Router now supports multiple layouts. For those hitting this thread now, this is the best way to handle the multiple layout scenario.

    Router.map ->
      @route 'home',
        layoutTemplate: 'homeLayout'
        path: '/'
    
      @route 'dashboard',
        layoutTemplate: 'dashboardLayout'
    

提交回复
热议问题