@mostajs/docs-ui
v0.1.0
Published
Pages d'information (HTML-string, zéro dépendance) : À propos + Aide (FAQ) + Guide d'utilisation (how-to-use). Compose @mostajs/app-shell-ui. Membre de mosta-ui-html-stack.
Maintainers
Readme
@mostajs/docs-ui
Pages d'information (HTML-string, zéro dépendance) — À propos + Aide (FAQ) + Guide d'utilisation.
Auteur : Dr Hamid MADANI [email protected] · AGPL-3.0-or-later · Membre de mosta-ui-html-stack.
import { page, THEME_CSS } from '@mostajs/app-shell-ui';
import { aboutPage, helpPage, guidePage, DOCS_CSS } from '@mostajs/docs-ui';
page({ title: 'À propos', theme: THEME_CSS + DOCS_CSS, body: aboutPage({ name, tagline, description, author, modules, links }) });
page({ title: 'Aide', theme: THEME_CSS + DOCS_CSS, body: helpPage({ items: [{ q, a }] }) });
page({ title: 'Guide', theme: THEME_CSS + DOCS_CSS, body: guidePage({ steps: [{ title, body }] }) });Vue pure (compose @mostajs/app-shell-ui ; contenu fourni par l'app). npm test (4 tests @mostajs/mjs-unit).
