我在widget文件夹中创建了一个组件并将其导入到我的主页(index.js)中 它显示错误 Error: Element type is invalid: expected a string (for built-in components) or class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up defaul
我正在尝试构建一个使用Tailwind CSS和Heroicons的应用程序。但是,当我使用几个特定的图标时,应用程序会中断(VeiwGridIcon、ChatIcon、BellIcon、CHeneronDownIcon)。我已经使用了其他运行良好的图标,但由于某些原因,它们运行得很好。我已经尝试重新安装了Tailwind和Hericons,但是我得到了同样的结果。我还仔细检查了我的导入,但它们都是正确的。
代码:import Head from "next/head";
import Header from "../co