DaffExternalRouterDriverMagentoModule
The module used to configure the DaffExternalRouterDriver
for usage with Magento.
import { DaffExternalRouterDriverMagentoModule } from '@daffodil/external-router/driver/magento/2.4.1'
@NgModule()
class DaffExternalRouterDriverMagentoModule {}
Examples
@NgModule({
declarations: [],
imports: [
...
DaffExternalRouterDriverMagentoModule.forRoot()
],
})
export class AppModule{}
Note that this package depends upon ApolloClient, as the Magento driver uses GraphQl to make it's API calls.