Actions
Native action surface for EmDash provider plugins.
Plugin
Actions
Native action surface for EmDash provider plugins.
Native action surface for EmDash provider plugins.
Installation
Install the package from npm:
npm install @bnomei/emdash-actions
Register the plugin in your Astro config:
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
- Latest version: 0.5.0
- License: MIT
- Publisher: Bruno Meilick
- Requires: EmDash
^1.2.0 - Source repository: https://github.com/bnomei/emdash-actions
- npm package: @bnomei/emdash-actions