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: src/fragments/start/getting-started/next/api.mdx
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,14 +95,14 @@ amplify push
95
95
96
96
97
97
API key configuration
98
-
✔ Enter a description for the API key: · (Just hit enter)
99
-
✔ After how many days from now the API key should expire (1-365): · 7 (Just hit enter)
98
+
✔ Enter a description for the API key: · (default)
99
+
✔ After how many days from now the API key should expire (1-365): · 7 (default)
100
100
101
101
# You should see that the GraphQL schema compiled successfully.
102
102
103
103
? Do you want to generate code for your newly created GraphQL API: (Yes)
104
104
? Choose the code generation language target: (javascript)
105
-
? Enter the file name pattern of graphql queries, mutations and subscriptions (src/graphql/**/*.js) (Just hit enter)
105
+
? Enter the file name pattern of graphql queries, mutations and subscriptions (src/graphql/**/*.js) (default)
106
106
? Do you want to generate/update all possible GraphQL operations - queries, mutations and subscriptions: (Yes)
107
107
? Enter maximum statement depth [increase from default if your schema is deeply nested]: (2)
108
108
@@ -360,10 +360,7 @@ Submit that form to create a new post, and you'll build that page next!
360
360
361
361
Statically generating pages during the build process improves performance. But, dynamically created posts still need to not `404`.
362
362
363
-
To solve this, create a new folder within **/pages** named "posts". Next, create a new file within this new **/posts** named **[id].js** to create the structure:
364
-
**pages/posts/[id].js**.
365
-
366
-
Paste the following content into the newly made **[id].js** file:
363
+
To solve this, create a new folder within **/pages** named "**posts**", then a file within that named **[id].js** to place the following content:
0 commit comments