我想在我的项目中使用Flowbite,我做了以下步骤,但是它仍然不起作用。
npm i flowbitetailwind.config.js文件
module.exports = {
content: [
"./src/**/*.{html,ts}",
"./node_modules/flowbite/**/*.js"
],
theme: {
extend: {},
},
plugins: [require('flowbite/plugin')]
}angular.js文件
"architect": {
"build": {
"options": {
"scripts": ["node_modules/flowbite/dist/flowbite.js"]
},
}我甚至用了下面的包,但还是不起作用。
流咬角
发布于 2022-11-02 16:13:44
流咬不支持角度。flowbite-angular还没有发布,也没有被支持。
正如其中一条评论所提到的,您可以尝试访问git并自己实现。
我也会建议试着看看顺风插件,如顺风形式等,这可以帮助很多功能。
发布于 2022-12-02 12:44:20
您可以直接克隆flowbite-angular开源库,并在导入相应的库模块后从其中开始使用UI组件。由于af现在还没有完全发展成角,我们没有解决一些组件,没有涵盖在这个库。
https://stackoverflow.com/questions/73174349
复制相似问题