Vulcan/packages/example-customization/lib/routes.jsx
2017-03-23 16:27:59 +09:00

8 lines
271 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/vulcan:core';
addRoute({name: "myCustomRoute", path: "/my-custom-route", component: getComponent("MyCustomPage")});