EmDash Learn

由社区维护的 EmDash CMS 学习与课程发布插件。

插件

EmDash Learn

由社区维护的 EmDash CMS 学习与课程发布插件。

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

由社区维护的 EmDash CMS 学习与课程发布插件。

安装

从 npm 安装该软件包:

npm install @emdashlms/plugin

在 Astro 配置中注册该插件:

// astro.config.mjs
import react from "@astrojs/react";
import { lmsCorePlugin } from "@emdashlms/plugin";
import { defineConfig } from "astro/config";
import emdash from "emdash/astro";
import { sqlite } from "emdash/db";

export default defineConfig({
  integrations: [
    react(),
    emdash({
      database: sqlite({ url: "file:./data.db" }),
      plugins: [lmsCorePlugin()],
    }),
  ],
});

详细信息