如何让 tailwindcss 使用当前的 Angular 6?

How do I make tailwindcss work with the current Angular 6?

我试着按照这个 https://tailwindcss.com/docs/installation

但由于其中一个步骤需要 ng eject,并且由于此选项在 Angular 6 上被禁用,我被卡住了,我尝试了几个选项,但在网络上一无所获。

有人能设法将 tailwindcss 添加到 Angular 6 吗?

谢谢

您可以使用npm i ng-tailwindcss

here 了解更多信息。很容易理解它。

如果您要设置新应用程序,我建议您执行 'Quick and Dirty Setup',它会产生与 [=23= 相同的结果]