Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 774 Bytes

2021-04-08-allow-defining-entrypoint-for-my-extensions.md

File metadata and controls

34 lines (26 loc) · 774 Bytes
title issue
Allow defining entrypoint for my extensions
NEXT-14524

Administration

  • 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
    }
});