vitesse/src/modules
2022-07-14 03:19:15 +08:00
..
i18n.ts fix: migrate import.meta.glob 2022-07-14 03:19:15 +08:00
nprogress.ts chore: update deps 2022-04-07 05:56:24 +08:00
pinia.ts chore: update deps 2022-04-07 05:56:24 +08:00
pwa.ts chore: lint 2022-05-01 11:52: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
}