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