dayjs
dayjs copied to clipboard
Nuxt V3 module for Day.js
With Nuxt 4 on the horizon, this updates the module compatibility definition to allow it to be installed on Nuxt v4. (Otherwise Nuxt will indicate the module might not be...
### Current `useDayjs()()` is an ugly code style in my opinion! ```ts console.log(useDayjs()().format('YYYY-MM-DD HH:mm:ss')); // or two lines const dayjs = useDayjs(); console.log(dayjs().format('YYYY-MM-DD HH:mm:ss')); ``` ### Feature 🚀 `dayjs()` as...

reproduction zip: [test-typescript.zip](https://github.com/user-attachments/files/16707892/test-typescript.zip) I just create a new nuxt3 app, and add only one module(dayjs-nuxt), then I auto import a const from nuxt.config.ts like the code below nuxt.config.ts ``` export...