Admin Dashboard
The vulcan:admin package provides a user moderation dashboard accessible to admin users at /admin.
Adding Columns
You can extend the admin dashboard with your own custom columns. First, you’ll need to make the relevent data available to the client by adding it to the UsersAdmin fragment:
1 | import { extendFragment } from 'meteor/vulcan:core'; |
Then, you can create a component for the dashboard cell item:
1 | import React from 'react'; |
And finally add the component to the dashboard as a new column using the addAdminColumn function:
1 | import { addAdminColumn } from 'meteor/vulcan:core'; |