我已经为我的 React 应用程序安装了 React-Bootstrap 和 Tailwind。我在使用它们时遇到了一些冲突。所以我想卸载顺风。
npm uninstall tailwindcss
另外(卸载 tailwind 开发依赖项,如果没有其他包需要它们)
npm uninstall autoprefixer
npm uninstall postcss
对于纱线用户,请使用:
yarn remove PACKAGE_NAME
当你使用 npm 时:
npm uninstall tailwindcss
当您使用纱线时:
yarn remove tailwindcss
npm remove tailwindcss
同时删除 tailwind.config 文件。