Popcase
由 Yet Another React Lightbox 驅動的原生 EmDash 圖片檢視器。
外掛
Popcase
由 Yet Another React Lightbox 驅動的原生 EmDash 圖片檢視器。
由 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()],
}),
],
});
詳細資訊
- 最新版本: 0.3.1
- 授權條款: MIT
- 發布者: harryxu
- 需求: EmDash
^1.3.1 - 原始碼儲存庫: https://github.com/harryxu/emdash-popcase
- npm 套件: emdash-popcase