Files
vitesse/src/modules
2024-12-03 14:00:28 +08:00
..
2024-12-03 14:00:28 +08:00
2024-12-03 14:00:28 +08:00
2024-12-03 14:00:28 +08:00
2023-10-11 18:01:38 +08:00
2023-10-11 18:01:38 +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
}