Nuxt ECharts
Apache ECharts™ 的 Nuxt 模組
功能
- ⛰ SSR:使用 Nuxt 伺服器組件 的伺服器端 SVG 渲染
- ♾️ Client Hydration:延遲載入完整 ECharts 或 輕量級客戶端執行時
- 🛠️ 可配置:僅導入 必要功能 以縮減套件大小
- 🦾 Type Strong:根據您的配置自動導入 ECharts 選項類型
- 🌲 Tree-shaking:組件和 ECharts 僅在您使用它們時才包含
快速設定
使用一個命令將模組安裝到您的 Nuxt 應用程式
npx nuxi module add echarts
就是這樣!您現在可以在您的 Nuxt 應用程式中使用 Nuxt ECharts 了 ✨
貢獻
本地開發
# Install dependencies
pnpm install
# Generate type stubs
pnpm run dev:prepare
# Develop with the playground
pnpm run dev
# Build the playground
pnpm run dev:build
# Run ESLint
pnpm run lint
# Format with Prettier
pnpm run format
# Run Vitest
pnpm run test
pnpm run test:watch
# Release new version
pnpm run release
鳴謝
Nuxt ECharts 模組深受 vue-echarts 的啟發,由 @Justineo 創建。
許可證
本專案根據 MIT 許可證 授權。
本專案也部分包含衍生或複製自 vue-echarts(MIT) 的程式碼。
注意事項
Apache 軟體基金會 Apache ECharts, ECharts、Apache、Apache 羽毛圖示和 Apache ECharts 專案標誌是 Apache 軟體基金會 的註冊商標或商標。