vitesse/src/modules
2021-04-04 02:21:33 +08:00
..
i18n.ts refactor(i18n): change locale files to yaml format, closes #96 (#97) 2021-03-19 22:32:17 +08:00
nprogress.ts refactor: use ~/ for alias and improve ssg 2021-02-05 09:34:09 +08:00
pwa.ts chore: update 2021-04-04 02:21:33 +08:00
README.md refactor: use ~/ for alias and improve ssg 2021-02-05 09:34:09 +08:00

Modules

A custom user module system. Place a .ts file with the following template, it will be installed automatically.

import { UserModule } from '~/types'

export const install: UserModule = ({ app, router, isClient }) => {
  // do something
}