title | issue |
---|---|
Allow defining entrypoint for my extensions |
NEXT-14524 |
- Changed module registration to allow specifying an entrypoint for my extensions
Example configurations:
Module.register('my-module', {
...
extensionEntryRoute: {
extensionName: 'MyPlugin', // My extension name
route: 'the.route.entrypoint' // The route to redirect on click on the Open app link
}
});
Module.register('my-module', {
...
extensionEntryRoute: {
extensionName: 'MyPlugin', // My extension name
route: 'the.route.entrypoint', // The route to redirect on click on the Open app link
label: 'my-plugin.some.label' // Translation snippet to override the label of the link
}
});