mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-28 07:26:57 +00:00
整理lib目录
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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 }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user