weixin_39862716
weixin_39862716
2020-11-30 09:44

[shark] iron-router branch compatible with current meteor shark?

i wanted to know if there is any branch of iron-router that is compatible with the current meteor shark

该提问来源于开源项目:iron-meteor/iron-router

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

21条回答

  • weixin_39856265 weixin_39856265 5月前

    I'm working on it now.

    点赞 评论 复制链接分享
  • weixin_39856265 weixin_39856265 5月前

    I'll push up to the shark or a new branch probably sometime over the weekend.

    点赞 评论 复制链接分享
  • weixin_39640195 weixin_39640195 5月前

    Also waiting for it. :+1: :-)

    点赞 评论 复制链接分享
  • weixin_39856265 weixin_39856265 5月前

    blaze-integration branch in combination with the blaze-layouts project. Under heavy development. The shark branch of iron-router will be deleted.

    点赞 评论 复制链接分享
  • weixin_39811193 weixin_39811193 5月前

    woop woop :) need to try :)

    点赞 评论 复制链接分享
  • weixin_39856265 weixin_39856265 5月前

    Use blaze-integration branch of iron-router and the devel branch of blaze-layout. My goal is to release blaze-layout sometime tonight (then you can just add it using mrt). For iron-router, the functionality should mostly work but still a lot of work to do with tests, docs, etc. so bare with us and chip in to help if/when you can!

    点赞 评论 复制链接分享
  • weixin_39664746 weixin_39664746 5月前

    Does it mean https://github.com/meteor/meteor/wiki/Spark is out of date and/or depreciated?

    On 26 February 2014 23:05, Chris Mather notifications.com wrote:

    blaze-integration branch in combination with the blaze-layouts project. Under heavy development. The shark branch of iron-router will be deleted.

    — Reply to this email directly or view it on GitHubhttps://github.com/EventedMind/iron-router/issues/449#issuecomment-36189368 .

    点赞 评论 复制链接分享
  • weixin_39880150 weixin_39880150 5月前

    Hey great job so far. I'm getting this error when trying out the new branch/package: Uncaught Error: No uiManager configured on Router from router.js:216

    Haven't been able to figure out why blaze-layout isn't setting the uiManager..

    点赞 评论 复制链接分享
  • weixin_39856265 weixin_39856265 5月前

    I'm working off of devel so it could be that you grabbed master? I just merged devel into master anyway (since it's just me working on it). Try again and see if it works? I'm working on 4bd1d48.

    Also I'm actively fixing bugs and issues so if you notice anything feel free to open a new issue and prefix it with [Blaze].

    点赞 评论 复制链接分享
  • weixin_39856265 weixin_39856265 5月前
    • that wiki link still applies to released Meteor. The new Meteor UI work has not been released yet.
    点赞 评论 复制链接分享
  • weixin_39547392 weixin_39547392 5月前

    that may be because you haven't meteor add blaze-layout yet?

    点赞 评论 复制链接分享
  • weixin_39880150 weixin_39880150 5月前

    if that was directed at me, you're right, I forgot to do that :)

    点赞 评论 复制链接分享
  • weixin_39856265 weixin_39856265 5月前

    https://github.com/EventedMind/blaze-layout

    点赞 评论 复制链接分享
  • weixin_39811193 weixin_39811193 5月前

    Works fine for me so far... I just wished there where a "none" templateNameConverter available by default... (or maybe even the default) it's kinda weird if you define a template name in the route and then he converts it anyway... took me a while to realize why he couldn't find the templates anymore...

    with this... all seems fine again

    
    Utils.StringConverters.none = function(input) {
        return input;
    };
    
    Router.configure({
        templateNameConverter: 'none'
    });
    

    shall I do a pull request?

    点赞 评论 复制链接分享
  • weixin_39856265 weixin_39856265 5月前

    Oh good point. We really shouldn't convert at all if you defined the template explicitly. So I think we need both things. One is a converter called 'none' which takes a route name and just uses it exactly, and another is to not do a conversion if a template name is provided.

    PR for this would definitely be awesome.

    点赞 评论 复制链接分享
  • weixin_39856265 weixin_39856265 5月前

    Also, the blaze-layout project is in need of two new tests (see the TODO comments on line 67 and 72). If anyone wants to get in on the project that would be a good way to get started if you can figure it out! Also, running blaze-layout through the paces independently from iron-router is also helpful. We may merge it back in to iron-router at some point. Depends on what happens with Meteor Blaze.

    点赞 评论 复制链接分享
  • weixin_39947306 weixin_39947306 5月前

    Same error...

    
    Uncaught Error: No uiManager configured on Router
    

    I use '--release blaze-rc0', new-location branch of iron-router (as it was merged with blaze-integration) and blaze-layout... on new created meteor project.

    In my application appears the same error.

    I'm doing something wrong ?? Thanks

    点赞 评论 复制链接分享
  • weixin_39811193 weixin_39811193 5月前

    make sure to load the blaze-layout after iron-router... On Feb 28, 2014 10:05 PM, "ixdi" notifications.com wrote:

    Same error...

    Uncaught Error: No uiManager configured on Router

    I use '--release blaze-rc0', new-location branch of iron-router (as it was merged with blaze-integration) and blaze-layout... on new created meteor project.

    I'm doing something wrong ?? Thanks

    Reply to this email directly or view it on GitHub.

    点赞 评论 复制链接分享
  • weixin_39631370 weixin_39631370 5月前

    "make sure to load the blaze-layout after iron-router."

    What does this mean?

    点赞 评论 复制链接分享
  • weixin_39603476 weixin_39603476 5月前

    it means adding the blaze-layout smart package.

    https://github.com/EventedMind/blaze-layout

    点赞 评论 复制链接分享
  • weixin_39792519 weixin_39792519 5月前

    : tiny change, https://github.com/EventedMind/iron-router/issues/449#issuecomment-36199034 should say "mrt add blaze-layout" I think.

    点赞 评论 复制链接分享

相关推荐