vitesse/src/modules
userquin b7824239a8
chore: update pwa plugin dep (#104)
* chore: update pwa plugin dep

* chore: clean up
2021-03-29 01:02:09 +09: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
README.md refactor: use ~/ for alias and improve ssg 2021-02-05 09:34:09 +08:00
sw.ts chore: update pwa plugin dep (#104) 2021-03-29 01:02:09 +09: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
}