整理lib目录

This commit is contained in:
tangly1024
2024-03-10 13:08:18 +08:00
parent 51743512fa
commit 444e236ca6
55 changed files with 60 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
import busuanzi from '@/lib/busuanzi'
import busuanzi from '@/lib/plugins/busuanzi'
import { useRouter } from 'next/router'
import { useGlobal } from '@/lib/global'
// import { useRouter } from 'next/router'

View File

@@ -1,6 +1,6 @@
import { useEffect } from 'react'
import { useRouter } from 'next/router'
import * as gtag from '@/lib/gtag'
import * as gtag from '@/lib/plugins/gtag'
const Gtag = () => {
const router = useRouter()

View File

@@ -17,7 +17,7 @@ const Code = dynamic(() =>
const Equation = dynamic(() =>
import('@/components/Equation').then(async (m) => {
// 化学方程式
await import('@/lib/mhchem')
await import('@/lib/plugins/mhchem')
return m.Equation
}), { ssr: false }
)