UNPKG

@stacksjs/stx

Version:

A performant UI Framework. Powered by Bun.

22 lines 720 B
import type { StxOptions } from '../types'; /** * Generate PWA HTML tags for injection into <head> */ export declare function generatePwaTags(options: StxOptions): string; /** * Inject PWA tags into HTML document */ export declare function injectPwaTags(html: string, options: StxOptions): string; /** * Generate standalone service worker registration script * Use this if you want to manually add the registration script */ export declare function generateSwRegistrationScript(options: StxOptions): string; /** * Generate manifest link tag */ export declare function generateManifestLink(): string; /** * Generate theme color meta tag */ export declare function generateThemeColorMeta(color: string): string;