All Projects โ†’ veliovgroup โ†’ flow-router

veliovgroup / flow-router

Licence: BSD-3-Clause license
๐Ÿšฆ Carefully extended flow-router for Meteor

Projects that are alternatives of or similar to flow-router

Meteor-flow-router-title
Change document.title on the fly within flow-router
Stars: โœญ 23 (-87.96%)
Mutual labels:  meteor, meteor-package, flow-router, meteorjs
Meteor-logger-file
๐Ÿ”– Meteor Logging: Store application log messages into file (FS)
Stars: โœญ 24 (-87.43%)
Mutual labels:  meteor, meteor-package, meteorjs
Meteor-Template-helpers
Template helpers for Session, logical operations and debug
Stars: โœญ 35 (-81.68%)
Mutual labels:  meteor, meteor-package, meteorjs
Meteor-logger
๐Ÿงพ Meteor isomorphic logger. Store application logs in File (FS), MongoDB, or print in Console
Stars: โœญ 51 (-73.3%)
Mutual labels:  meteor, meteor-package, meteorjs
svelte-meteor-data
Reactively track Meteor data inside Svelte components
Stars: โœญ 14 (-92.67%)
Mutual labels:  meteor, meteor-package, meteorjs
Meteor-logger-mongo
๐Ÿƒ Meteor Logging: Store application log messages in MongoDB
Stars: โœญ 20 (-89.53%)
Mutual labels:  meteor, meteor-package, meteorjs
awesome-blaze
๐Ÿ”ฅA curated list of awesome things related to Blaze
Stars: โœญ 29 (-84.82%)
Mutual labels:  meteor, meteor-package, meteorjs
hypersubs
an upgraded version of Meteor subscribe, which helps optimize data and performance!
Stars: โœญ 13 (-93.19%)
Mutual labels:  meteor, meteor-package, meteorjs
Meteor-Cookies
๐Ÿช Isomorphic bulletproof cookie functions for client and server
Stars: โœญ 41 (-78.53%)
Mutual labels:  meteor, meteor-package
MeteorCandy-meteor-admin-dashboard-devtool
The Fast, Secure and Scalable Admin Panel / Dashboard for Meteor.js
Stars: โœญ 50 (-73.82%)
Mutual labels:  meteor, meteorjs
meteor-subscription-scope
Scope queries on collections to subscriptions
Stars: โœญ 20 (-89.53%)
Mutual labels:  meteor, meteor-package
meteorman
A DDP client with GUI (The Postman for Meteor)
Stars: โœญ 51 (-73.3%)
Mutual labels:  meteor, meteorjs
setup-meteor
Set up your GitHub Actions workflow with a specific version of Meteor.js
Stars: โœญ 17 (-91.1%)
Mutual labels:  meteor, meteorjs
meteor-two-factor
๐Ÿ” Two factor authentication package for accounts-password
Stars: โœญ 80 (-58.12%)
Mutual labels:  meteor, meteor-package
meteor-computed-field
Reactively computed field for Meteor
Stars: โœญ 18 (-90.58%)
Mutual labels:  meteor, meteor-package
Client-Storage
๐Ÿ—„ Bulletproof persistent Client storage, works with disabled Cookies and/or localStorage
Stars: โœญ 15 (-92.15%)
Mutual labels:  meteor, meteor-package
jazeee-meteor-spiderable
Fork of Meteor Spiderable with longer timeout, caching, better server handling
Stars: โœญ 33 (-82.72%)
Mutual labels:  meteor-package, meteorjs
ostrio-analytics
๐Ÿ“Š Visitor's analytics tracking code for ostr.io service
Stars: โœญ 14 (-92.67%)
Mutual labels:  meteor, meteor-package
meteor-blaze-bs4
Generic Bootstrap 4 components library for Meteor Blaze.
Stars: โœญ 20 (-89.53%)
Mutual labels:  meteor, meteorjs
meteor-search
๐Ÿ” SPIKE of full-text search in MongoDB using Meteor
Stars: โœญ 40 (-79.06%)
Mutual labels:  meteor, meteorjs

support support

FlowRouter Extra

Carefully extended flow-router package. FlowRouter is a very simple router for Meteor. It does routing for client-side apps and compatible with React, Vue, Svelte, and Blaze.

It exposes a great API for changing the URL and getting data from the URL. However, inside the router, it's not reactive. Most importantly, FlowRouter is designed with performance in mind and it focuses on what it does best: routing.

Features:

Install

meteor add ostrio:flow-router-extra

ES6 Import

import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
// Full list of available classes and instances:
// { FlowRouter, Router, Route, Group, Triggers, BlazeRenderer, RouterHelpers }

Usage

import { FlowRouter } from 'meteor/ostrio:flow-router-extra';

// DISABLE QUERY STRING COMPATIBILITY
// WITH OLDER FlowRouter AND Meteor RELEASES
FlowRouter.decodeQueryParamsOnce = true;

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
  }
});

Documentation

Related packages:

Running Tests

  1. Clone this package
  2. In Terminal (Console) go to directory where package is cloned
  3. Then run:

Meteor/Tinytest

# Default
meteor test-packages ./

# With custom port
meteor test-packages ./ --port 8888

# With local MongoDB and custom port
MONGO_URL="mongodb://127.0.0.1:27017/flow-router-tests" meteor test-packages ./ --port 8888

Support this project:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].