mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
11 lines
307 B
JavaScript
11 lines
307 B
JavaScript
import { registerFragment, getFragment } from 'meteor/nova:lib';
|
|
|
|
const CustomPostsListFragment = `
|
|
fragment CustomPostsList on Post {
|
|
...PostsList
|
|
color # new custom property!
|
|
}
|
|
`;
|
|
|
|
registerFragment(CustomPostsListFragment, 'PostsList');
|
|
registerFragment(CustomPostsListFragment, 'PostsPage');
|