@tzj437/celestial-calendar
v0.1.1
Published
A Vue component library for displaying celestial calendar and astronomical phenomena.
Maintainers
Readme
@TZJ437/celestial-calendar
一个用于显示天文日历和天象的 Vue 组件库,源自 "Celestial Calendar" 项目。
安装
# npm
npm install @tzj437/celestial-calendar
# yarn
yarn add @tzj437/celestial-calendar
# pnpm
pnpm add @tzj437/celestial-calendar快速上手
这是一个如何在您的 Vue 应用中使用 Card 组件的基本示例。
<script setup>
import { Card } from '@tzj437/celestial-calendar';
// 注意:如果您的组件库包含全局样式或组件独立样式,
// 用户可能需要像这样导入 CSS 文件。
// 具体的路径取决于最终的打包配置。
// import '@tzj437/celestial-calendar/dist/style.css';
</script>
<template>
<Card>
<h2>来自 Celestial Calendar 的问候!</h2>
<p>这是一个库中的卡片组件。</p>
</Card>
</template>可用组件
本库导出了以下组件:
ConstellationInfoPanelInteractiveStarMapStarMapCalendarWidgetButtonCardModelViewerThemeToggleTimelineWarpBackgroundSolarTermsCalendarIconFlowerIconHamburgerIconStarIconFooterHeader
许可证
MIT © TZJ437
