mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00

the #shared alias used by Nuxt cannot be easily disabled and to prevent breackage with jiti, we make use of it
9 lines
309 B
TypeScript
9 lines
309 B
TypeScript
import type { RouteLocationRaw } from 'vue-router';
|
|
|
|
import type { Day } from '#shared/calendar/helpers.ts';
|
|
|
|
export default (day: Day): RouteLocationRaw => ({
|
|
name: 'calendarDay',
|
|
params: { year: day.year, month: day.month.toString().padStart(2, '0'), day: day.day.toString().padStart(2, '0') },
|
|
});
|