Skip to content

Commit 77d4afe

Browse files
sytolkjosefaidt
andauthored
Update src/pages/cli/usage/headless.mdx
Co-authored-by: josef <[email protected]>
1 parent 224bc61 commit 77d4afe

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

src/pages/cli/usage/headless.mdx

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -198,29 +198,30 @@ if (shell.exec(cmd).code !== 0) {
198198
amplify-headless-init-payload.json content
199199
```json
200200
{
201-
"amplify": {
202-
"projectName": "headlessProjectName",
203-
"envName": "myenvname",
204-
"defaultEditor": "code"
205-
},
206-
"frontend": {
207-
"frontend": "javascript",
208-
"framework": "react",
209-
"config": {
210-
"SourceDir": "src",
211-
"DistributionDir": "build",
212-
"BuildCommand": "npm run-script build",
213-
"StartCommand": "npm run-script start"
214-
}
215-
},
216-
"providers": {
217-
"awscloudformation": {
218-
"configLevel": "project",
219-
"useProfile": false,
220-
"profileName": "default"
221-
}
222-
}
201+
"amplify": {
202+
"projectName": "headlessProjectName",
203+
"envName": "myenvname",
204+
"defaultEditor": "code"
205+
},
206+
"frontend": {
207+
"frontend": "javascript",
208+
"framework": "react",
209+
"config": {
210+
"SourceDir": "src",
211+
"DistributionDir": "build",
212+
"BuildCommand": "npm run-script build",
213+
"StartCommand": "npm run-script start"
214+
}
215+
},
216+
"providers": {
217+
"awscloudformation": {
218+
"configLevel": "project",
219+
"useProfile": false,
220+
"profileName": "default"
221+
}
222+
}
223223
}
224+
224225
```
225226
226227
#### Sample bash script for Unix platform

0 commit comments

Comments
 (0)