Files
vitesse/src/modules/README.md
T
2023-10-11 18:01:38 +08:00

267 B

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
}