Skip to content

Commit 55c4584

Browse files
committed
chore: fix import css files with tailwind
1 parent 9085422 commit 55c4584

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

apps/docs/docs/getting-started/quickstart/index.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,7 @@ npm install flowbite-angular
2626
Make sure to use the flowbite-angular configuration preset in your styles.css
2727

2828
```css
29-
@import 'tailwindcss';
30-
```
31-
32-
Add this configuration to your application
29+
@import 'tailwindcss' source('node_modules/flowbite-angular');
3330

34-
```json
35-
"styles": [
36-
"node_modules/flowbite-angular/flowbite-angular.css",
37-
],
31+
@source "src/";
3832
```

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"docs:serve": "nx run docs:serve",
2020
"format": "prettier --write \"**/*.{ts,html,md,scss,js,json}\"",
2121
"format:check": "prettier --check \"**/*.{ts,html,md,scss,js,json}\"",
22-
"lib:build": "nx run flowbite-angular:build && pnpm dlx @tailwindcss/cli -i ./libs/flowbite-angular/styles/flowbite-angular.css -o ./dist/libs/flowbite-angular/flowbite-angular.css --minify",
22+
"lib:build": "nx run flowbite-angular:build",
2323
"lib:lint": "nx run flowbite-angular:lint",
2424
"prepare": "husky",
2525
"storybook:build": "nx run storybook:build",

0 commit comments

Comments
 (0)