Mixins / foldkit-mixins/foundations

foundations

function · packages/mixins/src/foundations.ts:80

function foundations(options: {
  readonly module: string
  readonly export?: string | undefined
  readonly root?: string | undefined
}): Plugin

Writes the foundations into the page's head: in development through the running server, in a build through one of its own. Without it, each move between pages paints unstyled until the script runs.