Skip to content
Meeko
Type to search the guides and the API reference. Open it from any page with / or Ctrl K; move with the arrow keys and open a result with Enter.
Get started

Contents

On this page

Not translated yet

This page has not been translated into English yet, so it is shown in Spanish.

ClientAssets

interfaz

Archivos del build cliente que enlaza cada documento renderizado en el servidor.

ts
import type { ClientAssets } from "@meekojs/meeko/server";

Source code src/server/runtime/app.ts:53

Declaración #

ts
interface ClientAssets {
	readonly entry: string
	readonly css: readonly string[]
	readonly preload: readonly string[]
}

Example #

ts
import type { ClientAssets } from "@meekojs/meeko/server";

const client: ClientAssets = {
  entry: "/assets/entry-client-4f2a.js",
  css: ["/assets/main-91bc.css"],
  preload: ["/assets/runtime-0d3e.js"],
};

Propiedades #

entry #

propiedad sólo lectura

readonly entry: string

URL del módulo de entrada del cliente.

css #

propiedad sólo lectura

readonly css: readonly string[]

Hojas de estilo enlazadas en <head>.

preload #

propiedad sólo lectura

readonly preload: readonly string[]

Imports estáticos de la entrada, anunciados con modulepreload.

Was this page helpful?

Add a comment

It is sent when you choose “Yes” or “No”. Only the page, your answer and the comment are stored: no cookies and no personal data.

0 of 2000 characters

Edit on GitHub: packages/meeko/src/server/runtime/app.ts