chore: lint

This commit is contained in:
Anthony Fu committed 2023-10-11 18:01:38 +08:00
1 parent e834b528e0
commit 0f52e8b22c
9 files changed
+15 -15

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@
A custom user module system. Place a `.ts` file with the following template, it will be installed automatically.
```ts
import { type UserModule } from '~/types'
import type { UserModule } from '~/types'
export const install: UserModule = ({ app, router, isClient }) => {
// do something
+1 -1
View File
@@ -1,6 +1,6 @@
import type { Locale } from 'vue-i18n'
import { createI18n } from 'vue-i18n'
import { type UserModule } from '~/types'
import type { UserModule } from '~/types'
// Import i18n resources
// https://vitejs.dev/guide/features.html#glob-import
+1 -1
View File
@@ -1,5 +1,5 @@
import NProgress from 'nprogress'
import { type UserModule } from '~/types'
import type { UserModule } from '~/types'
export const install: UserModule = ({ isClient, router }) => {
if (isClient) {
+1 -1
View File
@@ -1,5 +1,5 @@
import { createPinia } from 'pinia'
import { type UserModule } from '~/types'
import type { UserModule } from '~/types'
// Setup Pinia
// https://pinia.vuejs.org/
+1 -1
View File
@@ -1,4 +1,4 @@
import { type UserModule } from '~/types'
import type { UserModule } from '~/types'
// https://github.com/antfu/vite-plugin-pwa#automatic-reload-when-new-content-available
export const install: UserModule = ({ isClient, router }) => {