eslint-config/fixtures/vitesse/src/modules
2022-11-17 01:27:16 +08:00
..
i18n.ts chore: update fixture 2022-09-06 10:04:27 +08:00
nprogress.ts chore: update deps 2022-11-17 01:27:16 +08:00
pinia.ts chore: update fixture 2022-09-06 10:04:27 +08:00
pwa.ts chore: update fixture 2022-09-06 10:04:27 +08:00
README.md chore: update fixture 2022-09-06 10:04:27 +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
}