mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00

Shows how to use a simple a hierarchical interface implemented in a Categories collection.
8 lines
304 B
JavaScript
8 lines
304 B
JavaScript
import { addRoute, replaceComponent } from 'meteor/vulcan:core';
|
|
|
|
import Layout from '../components/common/Layout.jsx';
|
|
import CategoriesPage from '../components/categories/CategoriesPage.jsx';
|
|
|
|
replaceComponent('Layout', Layout);
|
|
|
|
addRoute({ name: 'categories', path: '/', component: CategoriesPage });
|