feat: calendar & router configs

This commit is contained in:
opbnq-q
2025-03-11 04:52:09 -07:00
parent e16fce9221
commit a130fb9063
10 changed files with 231 additions and 19 deletions

View File

@@ -0,0 +1,20 @@
<script setup lang="ts">
import { Qalendar } from "qalendar";
const config = {
month: {
showTrailingAndLeadingDates: false,
},
locale: 'ru-RU',
defaultMode: 'month',
isSilent: true,
};
</script>
<template>
<Qalendar :config></Qalendar>
</template>
<style>
@import "qalendar/dist/style.css";
</style>

View File

@@ -0,0 +1,4 @@
declare module 'qalendar' {
import { DefineComponent } from 'vue';
export const Qalendar: DefineComponent<{}, {}, any>;
}