SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Function addResourceRoot

    • Add a resource ROOT, searched ahead of anything the packages ship.

      In the browser this is required to load anything beyond the bundled default language — there is no implicit root. An app that stages resources with ResourcesPlugin (or stageResources) serves them at /resources, so it calls addResourceRoot('/resources').

      May be called before or after packages load; already-registered packages re-discover their locales.

      Parameters

      • root: string | ResourceRoot

        a URL prefix (browser) or directory (node) laid out as <root>/<kind>/<pkg>/<relPath>, or a custom ResourceRoot.

      Returns void