vitesse/src/modules
Martin DONADIEU c75bb79786
feat: i18n locales lazy loading (#482)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2023-03-27 12:17:23 +02:00
..
i18n.ts feat: i18n locales lazy loading (#482) 2023-03-27 12:17:23 +02:00
nprogress.ts chore: lint 2022-11-22 19:41:13 +08:00
pinia.ts docs: update pinia links (#415) 2022-09-05 18:35:12 +08:00
pwa.ts chore: update deps 2022-11-30 09:05:59 +08:00
README.md chore: update deps 2022-04-07 05:56:24 +08:00

Modules

A custom user module system. Place a .ts file with the following template, it will be installed automatically.

import { type UserModule } from '~/types'

export const install: UserModule = ({ app, router, isClient }) => {
  // do something
}