Environment Indicator

在儀表盤上顯示站點所處環境(開發、預釋出或生產)的 EmDash 外掛。

外掛

Environment Indicator

在儀表盤上顯示站點所處環境(開發、預釋出或生產)的 EmDash 外掛。

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

在儀表盤上顯示站點所處環境(開發、預釋出或生產)的 EmDash 外掛。

安裝

從 npm 安裝此套件:

npm install @kitaris/emdash-environment-indicator

在 Astro 設定中註冊此外掛:

// astro.config.mjs
import { environmentIndicator } from "@kitaris/emdash-environment-indicator";

emdash({
  // ...
  plugins: [environmentIndicator()],
});

詳細資訊