mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Replace kadira:flow-router with ostrio:flow-router-extra
see issue #11014
This commit is contained in:
@@ -19,9 +19,8 @@ ecmascript # Enable ECMAScript2015+ syntax in app code
|
||||
typescript # Enable TypeScript syntax in .ts and .tsx modules
|
||||
shell-server # Server-side component of the `meteor shell` command
|
||||
|
||||
kadira:flow-router # FlowRouter is a very simple router for Meteor
|
||||
kadira:blaze-layout # Layout manager for blaze (works well with FlowRouter)
|
||||
less # Leaner CSS language
|
||||
ostrio:flow-router-extra # FlowRouter is a very simple router for Meteor
|
||||
less # Leaner CSS language
|
||||
|
||||
meteortesting:mocha # A package for writing and running your meteor app and package tests with mocha
|
||||
johanbrook:publication-collector # Test a Meteor publication by collecting its output
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { FlowRouter } from 'meteor/kadira:flow-router';
|
||||
import { BlazeLayout } from 'meteor/kadira:blaze-layout';
|
||||
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
|
||||
|
||||
// Import needed templates
|
||||
import '../../ui/layouts/body/body.js';
|
||||
@@ -10,12 +9,12 @@ import '../../ui/pages/not-found/not-found.js';
|
||||
FlowRouter.route('/', {
|
||||
name: 'App.home',
|
||||
action() {
|
||||
BlazeLayout.render('App_body', { main: 'App_home' });
|
||||
this.render('App_body', { main: 'App_home' });
|
||||
},
|
||||
});
|
||||
|
||||
FlowRouter.notFound = {
|
||||
action() {
|
||||
BlazeLayout.render('App_body', { main: 'App_notFound' });
|
||||
this.render('App_body', { main: 'App_notFound' });
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user