Skip to content

Commit

Permalink
fix: tailwind config file and import codeblock in quickstart
Browse files Browse the repository at this point in the history
  • Loading branch information
MGREMY committed Oct 31, 2024
1 parent 5635f53 commit 781069c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/docs/docs/getting-started/quickstart/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ By default, Flowbite Angular provides a style for each of it's components. In or
For more informations about styling, check the `*OverrideBaseStylePage`.

```typescript
import { initFlowbite } from 'flowbite-angular';
import { initFlowbite } from 'flowbite-angular/core';

import { ApplicationConfig } from '@angular/core';

Expand Down
7 changes: 7 additions & 0 deletions libs/flowbite-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,12 @@
"name": "Nasreddine Bac Ali",
"email": "[email protected]",
"url": "https://github.com/bacali95"
},
"exports": {
"./tailwind.config": "./tailwind.config.js"
},
"peerDependencies": {
"@floating-ui/dom": "1.2.6",
"tailwind-merge": "2.2.1"
}
}
3 changes: 0 additions & 3 deletions libs/flowbite-angular/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-var-requires */

const { createGlobPatternsForDependencies } = require('@nx/angular/tailwind');

/** @type {import('tailwindcss').Config} */
module.exports = {
content: [...createGlobPatternsForDependencies(__dirname)],
darkMode: 'class',
theme: {
extend: {
Expand Down

0 comments on commit 781069c

Please sign in to comment.