mirror of
https://github.com/vale981/Vulcan
synced 2025-03-06 18:11:40 -05:00
8 lines
271 B
JavaScript
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")});
|