Dullaz Commerce
EmDash 電商:商品、庫存、訂單、結賬,以及可插拔的支付提供商抽象層。
外掛
Dullaz Commerce
EmDash 電商:商品、庫存、訂單、結賬,以及可插拔的支付提供商抽象層。
EmDash 電商:商品、庫存、訂單、結賬,以及可插拔的支付提供商抽象層。
安裝
從 npm 安裝此套件:
npm install @dullaz/commerce
在 Astro 設定中註冊此外掛:
// astro.config.mjs
import { commercePlugin } from "@dullaz/commerce";
export default defineConfig({
integrations: [
emdash({
database: d1({ binding: "DB" }),
storage: r2({ binding: "MEDIA" }),
plugins: [commercePlugin({ defaultCurrency: "USD" })],
}),
],
});
詳細資訊
- 最新版本: 0.1.1
- 授權條款: MIT
- 發布者: Abdullah Hasan
- 需求: EmDash
^0.18.0 - 原始碼儲存庫: https://github.com/Dullaz/emdash-commerce
- npm 套件: @dullaz/commerce