import { provideDaffNavigationMagentoDriver } from '@daffodil/navigation/driver/magento'
Provides the Magento drivers for the navigation package.
function provideDaffNavigationMagentoDriver(config: MagentoNavigationDriverConfig = MAGENTO_NAVIGATION_DRIVER_CONFIG_DEFAULT): Provider[]
| Parameter | config: MagentoNavigationDriverConfig |
|---|---|
| Default | MAGENTO_NAVIGATION_DRIVER_CONFIG_DEFAULT |
| Description |
export const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes),
provideMagentoDriver('https://some-magento-store.com/graphql'),
provideDaffNavigationMagentoDriver(),
]
};
export const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes),
provideMagentoDriver('https://some-magento-store.com/graphql'),
provideDaffNavigationMagentoDriver(),
]
};