You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,25 @@ npm i rxjs --save (because this is a peer dependency of the Kentico Kontent Deli
53
53
### Note:
54
54
By default Nuxt can only work with promises. Therefor you always use the "toPromise" method provided by the Kentico Kontent Delivery SDK! RxJs operator's are not supported at the moment.
55
55
56
+
# Typescript
57
+
58
+
Since version 7 the kentico-kontent-nuxt-module has typescript support!
59
+
60
+
Add the types to your "types" array in tsconfig.json after the @nuxt/types (Nuxt 2.9.0+) or @nuxt/vue-app entry
61
+
62
+
```json
63
+
64
+
{
65
+
"compilerOptions": {
66
+
"types": [
67
+
"@nuxt/types",
68
+
"kentico-kontent-nuxt-module"
69
+
]
70
+
}
71
+
}
72
+
73
+
```
74
+
56
75
## Generating
57
76
When using a static generated deployment you may need to use the [items-feed](https://docs.kontent.ai/reference/api-changelog#a-delivery-api-limitation) endpoint when generating your site (because the items endpoint has a rate limitation).
0 commit comments