File tree 3 files changed +16
-2
lines changed
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ npm install ngx-notion-cms
41
41
npm install ngx-highlightjs
42
42
```
43
43
44
+ Import the providers in your ` app.config.ts `
45
+
44
46
``` typescript
45
47
import { globalSettingsProvider } from ' ngx-notion-cms' ;
46
48
import { provideHttpClient } from ' @angular/common/http' ;
@@ -59,6 +61,12 @@ export const appConfig: ApplicationConfig = {
59
61
};
60
62
```
61
63
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
+
62
70
## Example
63
71
64
72
### Add database component
Original file line number Diff line number Diff line change 1
- ![ Alt text] ( ./public/ngx-notion-cms-rounded.png )
2
-
3
1
Render your Notion content through your Angular application as a CMS.
4
2
Possible uses:
5
3
@@ -41,6 +39,8 @@ npm install ngx-notion-cms
41
39
npm install ngx-highlightjs
42
40
```
43
41
42
+ Import the providers in your ` app.config.ts `
43
+
44
44
``` typescript
45
45
import { globalSettingsProvider } from ' ngx-notion-cms' ;
46
46
import { provideHttpClient } from ' @angular/common/http' ;
@@ -59,6 +59,12 @@ export const appConfig: ApplicationConfig = {
59
59
};
60
60
```
61
61
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
+
62
68
## Example
63
69
64
70
### Add database component
You can’t perform that action at this time.
0 commit comments