Carefully extended flow-router package.
- Not dependent on Blaze, ready for React and other templating/components engines/libs;
- Great tests coverage;
- Up-to-date dependencies;
- Following semver with regular releases;
- Great wiki;
- Great quick start tutorial.
meteor add ostrio:flow-router-extra
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
FlowRouter.route('/', {
name: 'index',
action() {
// Render a template using Blaze
this.render('templateName');
// Can be used with BlazeLayout,
// and ReactLayout for React-based apps
}
});
// Create 404 route (catch-all)
FlowRouter.route('*', {
action() {
// Show 404 error page using Blaze
this.render('notFound');
// Can be used with BlazeLayout,
// and ReactLayout for React-based apps
}
});
- Continue with our wiki;
- Quick start tutorial;
- All docs as single document.
- ostrio:flow-router-title - Reactive page title (
document.title
) - ostrio:flow-router-meta - Per route
meta
tags,script
andlink
(CSS), set per-route stylesheets and scripts - flean:flow-router-autoscroll - Autoscroll for Flow Router
- mealsunite:flow-routing-extra - Add-on for User Accounts
- nxcong:flow-routing - Add-on for User Accounts (alternative)
- forwarder:autoform-wizard-flow-router-extra - Flow Router bindings for AutoForm Wizard
- nicolaslopezj:router-layer - Helps package authors to support multiple routers
This project wouldn't be possible without ostr.io.
Using ostr.io you are not only protecting domain names, monitoring websites and servers, using Prerendering for better SEO of your JavaScript website, but support our Open Source activity, and great packages like this one could be available for free.