-
Notifications
You must be signed in to change notification settings - Fork 0
package assets
GitHub Actions edited this page Sep 17, 2026
·
1 revision
Import: import { uiAssetUrl, uiAssetsDir, copyUiAssets } from "@tundralibs/ui/assets"
uiAssetUrl(asset: UiAsset): stringResolved location of one distributable, as a URL string (file: or https:).
uiAssetsDir(): string | undefinedAbsolute path of the package's dist/ directory when it is on disk
(local checkout, npm install), else undefined (JSR under Deno serves
modules from its cache — use copyUiAssets() there).
copyUiAssets(toDir: string): PromiseCopies ui.css and ui.js into toDir (created if missing) and
returns the files written. Idempotent — call it at every boot.
Guides
Reference