Getting Started 添加 FlowRouter 到你的app: meteor add kadira:flow-router 让我们写第一个 route (添加文件到 lib/router.js 这目前是非常有用的, Kadira 的 https://kadira.io 已经有在使用. Use the New FlowRouter Package Now FlowRouter comes as kadira:flow-router So, remove meteorhacks:flow-router with : meteor remove meteorhacks:flow-router Then, add kadira:flow-router with meteor add kadira:flow-router 因此, 移除 meteorhacks:flow-layout 和添加 kadira:blaze-layout 即可.
scorpiusjs:core# 样式meteor add twbs:bootstrap fortawesome:fontawesome scorpiusjs:bootstrap# 路由meteor add kadira :flow-router kadira:blaze-layout 我们可以看到,和Orion一样,Core核心包里包括了 blaze-html-templates ecmascript meteor scorpiusjs
原文来自Kadira Voice,标题为「Meteor’s Reactive GraphQL Is Just Awesome」。
Layout 我们使用 ant design 的组件来实现,所以首先我们要引入 antd 和 react-router-dom,并在 .meteor/packages 文件中删除项目自带的 kadira
Layout 我们使用 ant design 的组件来实现,所以首先我们要引入 antd 和 react-router-dom,并在 .meteor/packages 文件中删除项目自带的 kadira
Layout 我们使用 ant design 的组件来实现,所以首先我们要引入 antd 和 react-router-dom,并在 .meteor/packages 文件中删除项目自带的 kadira