Actions
Native Aktionsoberfläche für EmDash-Provider-Plugins.
Erweiterung
Actions
Native Aktionsoberfläche für EmDash-Provider-Plugins.
Native Aktionsoberfläche für EmDash-Provider-Plugins.
Installation
Installieren Sie das Paket über npm:
npm install @bnomei/emdash-actions
Registrieren Sie das Plugin in Ihrer Astro-Konfiguration:
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { actionsPlugin } from "@bnomei/emdash-actions";
import { cacheActions } from "./src/emdash/cache-actions";
const cacheActionsProvider = {
pluginId: "cache-actions",
label: "Cache actions",
manifestRoute: "actions",
};
export default defineConfig({
integrations: [
emdash({
plugins: [
actionsPlugin({
providers: [cacheActionsProvider],
}),
cacheActions(),
],
}),
],
});
Details
- Neueste Version: 0.5.0
- Lizenz: MIT
- Herausgeber: Bruno Meilick
- Voraussetzung: EmDash
^1.2.0 - Quell-Repository: https://github.com/bnomei/emdash-actions
- npm-Paket: @bnomei/emdash-actions