Actions
EmDash プロバイダープラグイン向けのネイティブなアクションサーフェスです。
プラグイン
Actions
EmDash プロバイダープラグイン向けのネイティブなアクションサーフェスです。
EmDash プロバイダープラグイン向けのネイティブなアクションサーフェスです。
インストール
npm からパッケージをインストールします。
npm install @bnomei/emdash-actions
Astro の設定にプラグインを登録します。
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(),
],
}),
],
});
詳細
- 最新バージョン: 0.5.0
- ライセンス: MIT
- 公開者: Bruno Meilick
- 必要条件: EmDash
^1.2.0 - ソースリポジトリ: https://github.com/bnomei/emdash-actions
- npm パッケージ: @bnomei/emdash-actions