---
title: mount
description: >-
  Browser script entry: remember the vault's config, open the dialog from
  `data-svartz-sign-in` elements, and link a signed-in reader to their account
  and the dashboard. The build doesn't know a host app's `paths.base`, so the
  routes get the deployment base here, from `context`.
updated_at: '2026-11-19T21:17:45+01:00'
created_at: '2026-11-11T11:02:45+01:00'
symbol:
  kind: function
  name: mount
  signatures:
    - >-
      mount(pathname: string, options:
      [[reference/api/auth/browser/SignInConfig|SignInConfig]], options?:
      [[reference/api/core/BrowserScriptContext|BrowserScriptContext]]): () =>
      void
  parameters:
    - name: pathname
      type: string
    - name: options
      type: '[[reference/api/auth/browser/SignInConfig|SignInConfig]]'
    - name: options
      type: '[[reference/api/core/BrowserScriptContext|BrowserScriptContext]]'
      optional: true
  returns:
    type: () => void
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/auth/src/browser.ts#L222
---

# mount
