update: 解决打包报错
parent
33987b0165
commit
078e3745d8
|
@ -1,3 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": ["next/core-web-vitals", "next/typescript"]
|
"extends": ["next/core-web-vitals", "next/typescript"],
|
||||||
|
"rules": {
|
||||||
|
"@next/next/no-img-element": "off" // 或者 "error",取决于你希望是警告还是错误
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Link from "next/link"
|
import Link from "next/link"
|
||||||
|
|
||||||
export default function More(props: {dict: Record<string, string>, lang: string[]}) {
|
export default function More(props: {dict: Record<string, string>, lang: string[]}) {
|
||||||
const { dict, lang } = props
|
const { dict } = props
|
||||||
return <>
|
return <>
|
||||||
<Link href="#contact">
|
<Link href="#contact">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue