Class PublicPathUtils

Set of utilities to determine where to load the lazy chunks from. You should add the coveo-script class on the script tag that includes the Coveo framework to make sure the framework can always auto-detect the path to load the lazy chunks from. More details here

Index

Methods

Static configureResourceRoot

  • configureResourceRoot(path: string): void
  • deprecated

    Instead of using this method, you should add the coveo-script class on the script tag that includes the Coveo framework.

    Parameters

    • path: string

    Returns void

Static getDynamicPublicPath

  • getDynamicPublicPath(): string
  • Helper function to resolve the public path used to load the chunks relative to the Coveo script. You should add the coveo-script class on the script tag that includes the Coveo framework to make sure the framework can always auto-detect the path to load the lazy chunks from. More details here

    Returns string

Hierarchy

  • PublicPathUtils