feat: add help page & update desc

This commit is contained in:
YunYouJun
2022-04-27 02:20:33 +08:00
parent dbcf5bd969
commit 175346c43b
16 changed files with 518 additions and 191 deletions

View File

@@ -5,7 +5,7 @@ export const install: UserModule = ({ isClient, router }) => {
if (!isClient)
return
router.isReady().then(async() => {
router.isReady().then(async () => {
const { registerSW } = await import('virtual:pwa-register')
registerSW({ immediate: true })
})

9
src/modules/toast.ts Normal file
View File

@@ -0,0 +1,9 @@
import Toast from 'vue-toastification'
import type { UserModule } from '~/types'
import 'vue-toastification/dist/index.css'
export const install: UserModule = ({ app }) => {
// add google tag manager, and add GA4 in gtag
app.use(Toast)
}