Add feature flag + app-based search page.
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
@@ -27,8 +27,9 @@ export const rootRouteRef = createRouteRef({
|
||||
|
||||
export const searchPlugin = createPlugin({
|
||||
id: 'search',
|
||||
register({ router }) {
|
||||
register({ router, featureFlags }) {
|
||||
router.addRoute(rootRouteRef, SearchPageComponent);
|
||||
featureFlags.register('use-search-platform');
|
||||
},
|
||||
routes: {
|
||||
root: rootRouteRef,
|
||||
|
||||
Reference in New Issue
Block a user