Meteor-flow-router-title icon indicating copy to clipboard operation
Meteor-flow-router-title copied to clipboard

TypeError: FlowRouterTitle is not a constructor

Open carlosalvidrez opened this issue 1 year ago • 1 comments

Trying to use this library for the first time. The extra package (dependency) works without issues. I can also import this package. I removed the original FlowRouter packages (as per the instructions).

But when I add this line to instantiate it, as per the docs, I get the error "TypeError: FlowRouterTitle is not a constructor"

import { FlowRouter } from 'meteor/ostrio:flow-router-extra';
import {FlowRouterTitle} from 'meteor/ostrio:flow-router-title';
[I DECLARE SOME ROUTES HERE]
new FlowRouterTitle(FlowRouter);  <-- THROWS ERROR

Latest flow-router-title version Meteor 2.8.1 (latest) Chrome Mac

carlosalvidrez avatar Nov 21 '22 03:11 carlosalvidrez