@ecomplus/storefront-router

Universal JS router for E-Com Plus storefront. GitHub
Source:
Author:
See:
Examples
// ES import default
import EcomRouter from '@ecomplus/storefront-router'
// With CommonJS
const EcomRouter = require('@ecomplus/storefront-router')
<!-- Global `EcomRouter` from CDN on browser -->
<script src="https://cdn.jsdelivr.net/npm/@ecomplus/storefront-router/dist/ecom-router.var.min.js"></script>
<!-- Bundle from CDN with `ecomUtils` and `ecomClient` -->
<script
  src="https://cdn.jsdelivr.net/npm/@ecomplus/storefront-router/dist/ecom-router.bundle.min.js"
></script>
Returns: