📜  禁用服务器端渲染 next.js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:13.583000             🧑  作者: Mango

代码示例1
import dynamic from 'next/dynamic'

const DynamicComponentWithNoSSR = dynamic(() => import('../components/List'), {
  ssr: false
})

export default () =>