Skip to content

Commit 1b39f75

Browse files
committed
docs: styles added to README
1 parent 31692ce commit 1b39f75

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ npm install ngx-notion-cms
4141
npm install ngx-highlightjs
4242
```
4343

44+
Import the providers in your `app.config.ts`
45+
4446
```typescript
4547
import { globalSettingsProvider } from 'ngx-notion-cms';
4648
import { provideHttpClient } from '@angular/common/http';
@@ -59,6 +61,12 @@ export const appConfig: ApplicationConfig = {
5961
};
6062
```
6163

64+
If you want to use the default Tailwind classes you must import this in your `styles.css`
65+
66+
```css
67+
@import 'ngx-notion-cms/styles';
68+
```
69+
6270
## Example
6371

6472
### Add database component

projects/ngx-notion-cms/README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
![Alt text](./public/ngx-notion-cms-rounded.png)
2-
31
Render your Notion content through your Angular application as a CMS.
42
Possible uses:
53

@@ -41,6 +39,8 @@ npm install ngx-notion-cms
4139
npm install ngx-highlightjs
4240
```
4341

42+
Import the providers in your `app.config.ts`
43+
4444
```typescript
4545
import { globalSettingsProvider } from 'ngx-notion-cms';
4646
import { provideHttpClient } from '@angular/common/http';
@@ -59,6 +59,12 @@ export const appConfig: ApplicationConfig = {
5959
};
6060
```
6161

62+
If you want to use the default Tailwind classes you must import this in your `styles.css`
63+
64+
```css
65+
@import 'ngx-notion-cms/styles';
66+
```
67+
6268
## Example
6369

6470
### Add database component
Binary file not shown.

0 commit comments

Comments
 (0)