Skip to content

Commit

Permalink
Update nuxt.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maximepvrt authored Dec 23, 2024
1 parent 856b47c commit acabcb4
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions content/guides/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ clever env set CC_POST_BUILD_HOOK "npx nuxi generate"
To deploy your Nuxt project to Clever Cloud, you need to **create a new application**.


### Create a static application
### Create a Node.js application

You can create an application in our [Console](https://console.clever-cloud.com) or through [Clever Tools](https://github.com/CleverCloud/clever-tools/):

Check warning on line 63 in content/guides/nuxt.md

View workflow job for this annotation

GitHub Actions / Run Vale Linter

[vale] reported by reviewdog 🐶 [Google.We] Try to avoid using first-person plural like 'our'. Raw Output: {"message": "[Google.We] Try to avoid using first-person plural like 'our'.", "location": {"path": "content/guides/nuxt.md", "range": {"start": {"line": 63, "column": 34}}}, "severity": "WARNING"}

Expand All @@ -78,17 +78,14 @@ clever link your_app_name_or_ID

### Configure environment variables

Next, we configure the application with a medium build instance to quickly generate static files. The host instance is nano-sized, enough for a simple website. As Clever Cloud is based on standards, you only need to define a few variables:
Next, we configure the application with a medium build instance. The host instance is XS, enough for a simple website. As Clever Cloud is based on standards, you only need to define a few variables:

Check warning on line 81 in content/guides/nuxt.md

View workflow job for this annotation

GitHub Actions / Run Vale Linter

[vale] reported by reviewdog 🐶 [Google.We] Try to avoid using first-person plural like 'we'. Raw Output: {"message": "[Google.We] Try to avoid using first-person plural like 'we'.", "location": {"path": "content/guides/nuxt.md", "range": {"start": {"line": 81, "column": 7}}}, "severity": "WARNING"}

Check warning on line 81 in content/guides/nuxt.md

View workflow job for this annotation

GitHub Actions / Run Vale Linter

[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('is based'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('is based').", "location": {"path": "content/guides/nuxt.md", "range": {"start": {"line": 81, "column": 136}}}, "severity": "INFO"}

```bash
clever scale --build-flavor M
clever scale --flavor nano
clever scale --flavor xs

clever env set CC_NODE_VERSION "20"
clever env set CC_WEBROOT "/.output/public"
clever env set CC_OVERRIDE_BUILDCACHE "/.output/public"
clever env set CC_PRE_BUILD_HOOK "npm install"
clever env set CC_POST_BUILD_HOOK "npx nuxi generate"
clever env set CC_RUN_COMMAND "node .output/server/index.mjs"
```

{{% content/git-push %}}
Expand Down

0 comments on commit acabcb4

Please sign in to comment.