Cookie Consent Banner

适用于 EmDash CMS 的完全可定制 Cookie 同意横幅插件,支持分类级别的选择加入、主题和后台设置面板。

插件

Cookie Consent Banner

适用于 EmDash CMS 的完全可定制 Cookie 同意横幅插件,支持分类级别的选择加入、主题和后台设置面板。

  • 分类: 安全
  • 状态: 可用
  • 版本: 1.0.1
  • 价格: 未知
  • 来源: npm 软件包
  • 安装方式: npm 原生集成
  • 核实日期: 2026-11-01

适用于 EmDash CMS 的完全可定制 Cookie 同意横幅插件,支持分类级别的选择加入、主题和后台设置面板。

安装

从 npm 安装该软件包:

npm install emdash-plugin-cookie-consent

在 Astro 配置中注册该插件:

import { cookieConsentPlugin } from "emdash-plugin-cookie-consent";

export default defineConfig({
  integrations: [
    emdash({
      plugins: [cookieConsentPlugin()],
    }),
  ],
});

详细信息