All extensions

Official extension

Hello (example)

The sample extension the Extensions guide builds step by step: one element, an editor panel, a data source, a stylesheet and a script. Not on npm: copy it to start your own.

Install

Not published on npm: it is an example to start your own extension from. Copy its folder next to your site, change it, then add it as a local package:

npm i ../emvb-ext-hello

Register it

In astro.config.mjs, then restart your site:

import { emvb } from "@perkyzz/emvb";
import hello from "emvb-ext-hello";

emvb({ extensions: [hello] });

Its elements appear in the editor's Add panel. Pages store them as ext:emvb-ext-hello/<element>, so a page keeps them across versions of the package.

Package
Not on npm
Extension id
emvb-ext-hello
Elements
1
EmVB
^1.4
Author
EmVB (@PerkyZZ999)
License
MIT
Source
Repository