JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 254
  • Score
    100M100P100Q107461F
  • License MIT

This is a Nuxt 3 compatible module built with the official Nuxt 3 (module-builder)(https://github.com/nuxt/module-builder) for (dayjs)(https://github.com/iamkun/dayjs/).

Package Exports

  • @nathanchase/nuxt-dayjs-module

Readme

@nathanchase/nuxt-dayjs-module

This is a Nuxt 3 compatible module built with the official Nuxt 3 module-builder for dayjs. This is meant as a Nuxt 3 version of dayjs-module to satisfy Nuxt 3 support.

Provided plugins included:

  • AdvancedFormat
  • Duration
  • RelativeTime
  • Weekday

See /playground/app.vue for working examples.

On npm: https://www.npmjs.com/package/@nathanchase/nuxt-dayjs-module

Development

  • Run npm run dev:prepare to generate type stubs.
  • Use npm run dev to start playground in development mode.