Files
eslint-config/fixtures/vitesse/src/modules/README.md
2022-09-06 10:04:27 +08:00

12 lines
267 B
Markdown

## Modules
A custom user module system. Place a `.ts` file with the following template, it will be installed automatically.
```ts
import { type UserModule } from '~/types'
export const install: UserModule = ({ app, router, isClient }) => {
// do something
}
```