Vulcan/packages/customization-demo/lib/routes.jsx

8 lines
269 B
JavaScript

/*
A new custom route for our custom page.
Browse to http://localhost:3000/my-custom-route to see it.
*/
import { addRoute, getComponent } from 'meteor/nova:core';
addRoute({name: "myCustomRoute", path: "/my-custom-route", component: getComponent("MyCustomPage")});