Skip to main content

fullPathToCollectionSegments

Callable

  • fullPathToCollectionSegments(path: string): string[]

  • Extract the collection path routes products/B44RG6APH/locales => [products, locales]


    Parameters

    • path: string

    Returns string[]

Sign up to our newsletter to get the latest news and updates. No spam!