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.

MeekoModuleEntry

tipo Since 1.2.0

Una entrada de modules en meeko.config.ts. Desde 1.8, la forma documentada es el nombre del paquete o la ruta del módulo ("@meekojs/i18n", "./modules/hello"), con sus opciones en la clave de meeko.config.ts que declara su meta.configKey. Un módulo importado y [módulo, opciones] están obsoletos desde 1.8 (aviso MEEK126): siguen funcionando en 1.x y se retirarán en 2.0. Una ruta a una carpeta con app/pages y sin index.ts ni package.json sigue funcionando como layer en 1.x, con un aviso: muévala a layers.

ts
import type { MeekoModuleEntry } from "@meekojs/meeko/framework";

Source code src/modules/define-meeko-module.ts:472

Declaración #

ts
type MeekoModuleEntry = MeekoModuleName | MeekoModule<any> | readonly [MeekoModuleName | MeekoModule<any>, object?]

Example #

ts
import type { MeekoModuleEntry } from "@meekojs/meeko/framework";

const modules: MeekoModuleEntry[] = ["@meekojs/i18n", "./modules/hello"];

See also #

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/modules/define-meeko-module.ts