fullcalendar/fullcalendar-vue
概要
FullCalendar 公式の Vue 3 コンポーネント。
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- -1
- 15日間
- -4
- 1か月
- -5
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルFullCalendar Vue 3 Component
[!IMPORTANT] This repo shows FullCalendar v6. The current version is v7, which is developed in fullcalendar-workspace for now. This repo's code is lagging behind and will be updated.
In v7, plugins like dayGrid and timeGrid are no longer separate packages. Run
npm install @fullcalendar/vue3 temporal-polyfilland import plugins from@fullcalendar/vue3/daygrid, etc. Don't install@fullcalendar/core,@fullcalendar/daygridor the other v6 packages with v7. See the v7 Vue docs.
The official Vue 3 component for FullCalendar
Installation
Install the Vue 3 connector, the core package, and any plugins (like daygrid):
npm install @fullcalendar/vue3 @fullcalendar/core @fullcalendar/daygrid
Usage
Render a FullCalendar component, supplying an options object:
<script>
import FullCalendar from '@fullcalendar/vue3'
import dayGridPlugin from '@fullcalendar/daygrid'
export default {
components: {
FullCalendar // make the <FullCalendar> tag available
},
data: function() {
return {
calendarOptions: {
plugins: [dayGridPlugin],
initialView: 'dayGridMonth',
weekends: false,
events: [
{ title: 'Meeting', start: new Date() }
]
}
}
}
}
</script>
<template>
<h1>Demo App</h1>
<FullCalendar :options='calendarOptions' />
</template>
You can even supply named-slot templates:
<template>
<h1>Demo App</h1>
<FullCalendar :options='calendarOptions'>
<template v-slot:eventContent='arg'>
<b>{{ arg.timeText }}</b>
<i>{{ arg.event.title }}</i>
</template>
</FullCalendar>
</template>
Links
Development
You must install this repo with PNPM:
pnpm install
Available scripts (via pnpm run <script>):
build- build production-ready dist filesdev- build & watch development dist filestest- test headlesslytest:dev- test interactivelyclean
関連プロジェクトを探す
読み込み中…