1
1
---
2
- description : Codegen for Hasura actions
2
+ description : Codegen for Hasura Actions
3
3
keywords :
4
4
- hasura
5
5
- docs
@@ -31,11 +31,11 @@ contributions from the community.
31
31
<Tabs groupId = " user-preference" className = " api-tabs" >
32
32
<TabItem value = " console" label = " Console" >
33
33
34
- Head to the ` Actions -> [action-name] -> Codegen ` tab in the console
34
+ Head to the ` Actions -> [action-name] -> Codegen ` tab in the Console
35
35
36
36
You can select the framework of your choice to get the corresponding handler boilerplate code.
37
37
38
- <Thumbnail src = ' /img/actions/console-codegen-tab.png' alt = ' Console codegen tab' />
38
+ <Thumbnail src = " /img/actions/console-codegen-tab.png" alt = " Console codegen tab" />
39
39
40
40
</TabItem >
41
41
<TabItem value = " cli" label = " CLI" >
@@ -52,14 +52,14 @@ hasura actions use-codegen
52
52
53
53
1 . Choose which framework you want to codegen for:
54
54
55
- <Thumbnail src = ' /img/actions/cli-framework-prompt.png' alt = ' CLI Framework Prompt' />
55
+ <Thumbnail src = " /img/actions/cli-framework-prompt.png" alt = " CLI Framework Prompt" />
56
56
57
57
2 . Choose if you also wish to clone a starter kit for the chosen framework:
58
58
59
- <Thumbnail src = ' /img/actions/cli-starter-kit-prompt.png' alt = ' CLI Starter Kit Prompt' />
59
+ <Thumbnail src = " /img/actions/cli-starter-kit-prompt.png" alt = " CLI Starter Kit Prompt" />
60
60
61
61
3 . Choose a path where you want to output the auto-generated code files
62
- <Thumbnail src = ' /img/actions/cli-output-dir-prompt.png' alt = ' CLI Starter Kit Prompt' />
62
+ <Thumbnail src = " /img/actions/cli-output-dir-prompt.png" alt = " CLI Starter Kit Prompt" />
63
63
64
64
This command will update your ` config.yaml ` with the codegen config as per your preferences. You can also set these
65
65
values manually in ` config.yaml ` .
@@ -95,7 +95,7 @@ The codegen files will be generated at the `output_dir` path from `config.yaml`.
95
95
## Codegen for your framework
96
96
97
97
As of now, Hasura provides codegen for a few frameworks (` nodejs-express ` , ` typescript-zeit ` , ` python-flask ` and many
98
- more). You can see the full list in the ` Codegen ` tab on the console after you've
98
+ more). You can see the full list in the ` Codegen ` tab on the Console after you've
99
99
[ created an action] ( /actions/create.mdx ) .
100
100
101
101
We will continue adding more examples to the documentation.
0 commit comments