Skip to content

Instantly share code, notes, and snippets.

@larkintuckerllc
Created March 6, 2022 11:59
Show Gist options
  • Save larkintuckerllc/65d47112ff5b2d2bbadf9b5fd26de24a to your computer and use it in GitHub Desktop.
Save larkintuckerllc/65d47112ff5b2d2bbadf9b5fd26de24a to your computer and use it in GitHub Desktop.
import { rootCatalogMyPluginRouteRef } from './routes';
export const myPluginPlugin = createPlugin({
id: 'my-plugin',
routes: {
root: rootCatalogMyPluginRouteRef,
},
});
export const EntityMyPluginContent = myPluginPlugin.provide(
createRoutableExtension({
name: 'EntityMyPluginContent',
component: () =>
import('./components/ExampleComponent').then(m => m.ExampleComponent),
mountPoint: rootCatalogMyPluginRouteRef,
}),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment