当我运行: ng添加@ngneat/顺风
我得到了这个错误:出现了一个未处理的异常:不支持:关键字" ID ",使用"$id“作为模式ID!
VSCode。
角cli v: 13.1.2
国家预防机制v: 8.3.0
节点五: 17.2.0
赢10 64
发布于 2021-12-20 12:27:13
这是一个公开发行在ngneat的人,并需要由他们解决。
我将分享链接问题中提供的修补程序。所有贷给京约丹的款项
Thanks to @kingjordan for his solution.
Install the dependencies:
npm install tailwindcss@latest @ngneat/tailwind@latest
Create a configuration file for Tailwind CSS at the root of your workspace:
npx tailwindcss init
Add purge configurations:
module.exports = {
...
purge: {
enabled: guessProductionMode(),
content: [ "<path/to/project/**/*.{html, ts, jsx, etc}>" ],
},
...
}
Import Tailwind CSS styles into the root styles file of your project.
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';发布于 2022-01-24 22:46:33
只需尝试在角版少于11.2.0中使用顺风安装的步骤
发布于 2022-04-30 16:21:34
https://stackoverflow.com/questions/70418435
复制相似问题