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.

RouteLayer

interfaz

Un layer de rutas: una carpeta con su propio árbol app/pages, cuyas páginas se muestran dentro del shell del proyecto.

ts
import type { RouteLayer } from "@meekojs/meeko/build";

Source code src/framework/modules.ts:20

Declaración #

ts
interface RouteLayer {
	readonly name: string
	readonly root: string
}

Example #

ts
import type { RouteLayer } from "@meekojs/meeko/build";

const base: RouteLayer = { name: "base", root: "./layers/base" };

Propiedades #

name #

propiedad sólo lectura

readonly name: string

Identificador estable para diagnósticos y manifiestos: minúsculas, dígitos y guiones.

root #

propiedad sólo lectura

readonly root: string

Carpeta que contiene el árbol app/pages del layer.

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/framework/modules.ts