Make componetName == extension (name)

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-09-16 20:15:28 +02:00
parent 11582dacc2
commit ae4680b88d
19 changed files with 41 additions and 77 deletions
@@ -11,6 +11,7 @@ export const {{ pluginVar }} = createPlugin({
export const {{ extensionName }} = {{ pluginVar }}.provide(
createRoutableExtension({
name: '{{ extensionName }}',
component: () =>
import('./components/ExampleComponent').then(m => m.ExampleComponent),
mountPoint: rootRouteRef,