小编jos*_*uti的帖子

如何在我的 nextjs 应用程序中更新我的模板

我使用 tailwind css 构建我的 nextjs 应用程序,所以我从 tailwind ui 复制此模板,它说要使其正常工作,我必须..

 {/*
      This example requires updating your template:

      ```
      <html class="h-full">
      <body class="h-full">
      ```
    */}
Run Code Online (Sandbox Code Playgroud)

我不确定我必须更新的内容在哪里。这就是我的 tailwind.config.js 的样子,

module.exports = {
  content: [
    "./pages/**/*.{js,ts,jsx,tsx}",
    "./components/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
};
Run Code Online (Sandbox Code Playgroud)

如果你们能帮助我,我将不胜感激,谢谢!

reactjs next.js tailwind-ui

4
推荐指数
1
解决办法
2686
查看次数

标签 统计

next.js ×1

reactjs ×1

tailwind-ui ×1