Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
@schedule-x/vue
Advanced tools
![qalendar](https://schedule-x.s3.eu-west-1.amazonaws.com/schedule-x-logo.png)
This package offers Vue components for the Schedule-X calendar and date picker. For the full documentation, please refer to: https://schedule-x.dev/
<script setup>
import { ScheduleXCalendar } from '@schedule-x/vue'
import {
createCalendar,
viewDay,
viewWeek,
viewMonthGrid,
viewMonthAgenda,
} from '@schedule-x/calendar'
import '@schedule-x/theme-default/dist/index.css'
// Do not use a ref here, as the calendar instance is not reactive, and doing so might cause issues
// For updating events, use the events service plugin
const calendarApp = createCalendar({
selectedDate: '2023-12-19',
views: [viewDay, viewWeek, viewMonthGrid, viewMonthAgenda],
defaultView: viewWeek.name,
events: [
{
id: 1,
title: 'Event 1',
start: '2023-12-19',
end: '2023-12-19',
},
{
id: 2,
title: 'Event 2',
start: '2023-12-20 12:00',
end: '2023-12-20 13:00',
},
],
})
</script>
<template>
<div>
<ScheduleXCalendar :calendar-app="calendarApp" />
</div>
</template>
<script setup lang="ts">
import { SxDatePicker } from '@schedule-x/vue'
import '@schedule-x/theme-default/dist/date-picker.css'
import { ref } from 'vue'
const datePickerModel = ref<string>('2024-07-12')
</script>
<template>
<div>
<p id="date-picker-model">{{ datePickerModel }}</p>
<SxDatePicker ref="datePickerRef" v-model="datePickerModel" />
</div>
</template>
FAQs
![qalendar](https://schedule-x.s3.eu-west-1.amazonaws.com/schedule-x-logo.png)
The npm package @schedule-x/vue receives a total of 4,525 weekly downloads. As such, @schedule-x/vue popularity was classified as popular.
We found that @schedule-x/vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.