Popcase

由 Yet Another React Lightbox 驅動的原生 EmDash 圖片檢視器。

外掛

Popcase

由 Yet Another React Lightbox 驅動的原生 EmDash 圖片檢視器。

  • 分類: 媒體
  • 狀態: 可用
  • 版本: 0.3.1
  • 價格: 未知
  • 來源: npm 套件
  • 安裝方式: npm 原生整合
  • 核實日期: 2026-11-01

由 Yet Another React Lightbox 驅動的原生 EmDash 圖片檢視器。

安裝

從 npm 安裝此套件:

npm install emdash-popcase

在 Astro 設定中註冊此外掛:

import { defineConfig } from "astro/config";
import react from "@astrojs/react";
import emdash from "emdash/astro";
import { popcase, popcaseIntegration } from "emdash-popcase";

export default defineConfig({
  integrations: [
    react(),
    popcaseIntegration(),
    emdash({
      // Keep your existing database and storage configuration.
      plugins: [popcase()],
    }),
  ],
});

詳細資訊