We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef359ec commit 100c6eaCopy full SHA for 100c6ea
README.md
@@ -138,6 +138,17 @@ NextJS and React Snippets with TypeScript support as well!🚀
138
139
export default Document;
140
```
141
+
142
+5. `ngsp` (Next.js Get Static Path Javascript)
143
144
+ ```jsx
145
+ export const getStaticPaths = async () => {
146
+ return {
147
+ paths:[${1}],
148
+ fallback:false
149
+ };
150
151
152
153
### TypeScript
154
@@ -214,3 +225,14 @@ NextJS and React Snippets with TypeScript support as well!🚀
214
225
215
226
216
227
228
229
+8. `ngspt` (Next.js Get Static Path Typescript)
230
231
+ ```tsx
232
+ export const getStaticPaths: GetStaticPaths = async () => {
233
234
235
236
237
+ }
238
+ ```
0 commit comments