Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/77.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Meteor 如何将template-engine-preview-3与iron router包一起运行?_Meteor_Iron Router - Fatal编程技术网

Meteor 如何将template-engine-preview-3与iron router包一起运行?

Meteor 如何将template-engine-preview-3与iron router包一起运行?,meteor,iron-router,Meteor,Iron Router,如何将template-engine-preview-3与iron router包一起运行 Git存储库的分支名为shark,我认为它应该允许将Iron Router与meteor的新模板引擎(如template-engine-preview-3)一起使用 .流星/释放: template-engine-preview-3 smart.json: { "packages": { "iron-router": { "git": "https://github.com/Ev

如何将template-engine-preview-3与iron router包一起运行

Git存储库的分支名为shark,我认为它应该允许将Iron Router与meteor的新模板引擎(如template-engine-preview-3)一起使用

.流星/释放:

template-engine-preview-3
smart.json:

{
  "packages": {
    "iron-router": {
      "git": "https://github.com/EventedMind/iron-router.git",
      "branch": "shark"
    },
    ...
  }
}
智能锁:

  ...
  "iron-router": {
    "git": "https://github.com/EventedMind/iron-router.git",
    "branch": "shark",
    "commit": "4e1ee0581d68bff422a915dacb0bd30eae10fe08"
  }
  ...
此外,我还运行
mrt更新
。 Meteor应用程序通过以下命令启动:
Meteor--release template-engine-preview-3


有人能用新模板引擎成功运行iron router吗?

你不能。。。然而ironRouter尚未准备好支持新的模板引擎

请关注更多详细信息


我想如果你现在真的想要的话,你可以用ironrouter把补丁插进去。

你不能。。。然而ironRouter尚未准备好支持新的模板引擎

请关注更多详细信息


我想如果你现在真的想要的话,你可以使用ironrouter并插入该修补程序。

@gadicohen已经创建了一个与
template-engine-preview-3
一起使用的修补程序。您可以将此代码放在
smart.json
文件中进行测试:

"iron-router": {
    "git": "https://github.com/gadicohen/iron-router",
    "branch": "dev"
}

@gadicohen已经创建了一个与
template-engine-preview-3
一起使用的修补程序。您可以将此代码放在
smart.json
文件中进行测试:

"iron-router": {
    "git": "https://github.com/gadicohen/iron-router",
    "branch": "dev"
}