js日历农历_中国农历日历的全部日历

js日历农历

Vue月球全日历 (vue-lunar-full-calendar)

Chinese lunar calendar for Fullcalendar.

Fullcalendar的中国农历。

图片和演示 (Image and demo)

a vue component for lunar fullcalendar. Uses Moment.js for date operations.
Increase the functions of Chinese lunar calendar, 24 solar terms and holidays

安装 (Installation)

npm install --save vue-lunar-full-calendar
//main.js
import LunarFullCalendar from "vue-lunar-full-calendar";
Vue.use(LunarFullCalendar);

But you can also import the standalone component to add locally or for more complex installations.

但是,您也可以导入独立组件以在本地添加或用于更复杂的安装。

// index.vue
import { LunarFullCalendar } from "vue-lunar-full-calendar";
export default {
  components: {
    LunarFullCalendar
  }
};

重要功能 (Important function)

1、window.lunar(date)

1,window.lunar(日期)

Use vue-lunar-full-calendar , You can use one function to get the date of a certain day.

使用vue-lunar-full-calendar,您可以使用一个功能来获取特定日期的日期。

2、lunarCalendar (default: true)

2,lunarCalendar(默认:true)

You can pass any custom options through to fullcalendar by using the config prop. Control whether the Chinese calendar shows true.

您可以使用config属性将任何自定义选项传递给fullcal

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值