Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions content/deploy/edgeone.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
title: EdgeOne Pages
description: 'Deploy your Nuxt Application to EdgeOne Pages.'
logoSrc: '/assets/integrations/edgeone.png'
category: Hosting
nitroPreset: 'edgeone'
Comment thread
Ibochkarev marked this conversation as resolved.
website: 'https://pages.edgeone.ai/'
---

Nuxt supports deploying on [EdgeOne Pages](https://pages.edgeone.ai/) with the `edgeone-pages` Nitro preset. EdgeOne Pages supports Nuxt 3.16.0 and later (Nuxt 4 recommended).

## Setup

1. In the [EdgeOne Pages console](https://console.tencentcloud.com/edgeone/pages), click **Create project**.
2. Choose **Import Git repository** (GitHub, GitLab, Gitee, or CNB).
3. Select the repository and branch for your Nuxt app.
4. Add the `NITRO_PRESET` environment variable with the value `edgeone-pages`.
5. Click **Deploy**.

## EdgeOne CLI

Install the [EdgeOne CLI](https://pages.edgeone.ai/document/edgeone-cli) (version 1.2.4 or later), then deploy with:

```bash [Terminal]
edgeone makers deploy
```

The CLI builds the project, then uploads and publishes the build output. The legacy equivalent is `edgeone pages deploy`.

## Learn more

::read-more{to="https://pages.edgeone.ai/document/framework-nuxt" target="_blank"}
See the **EdgeOne Nuxt framework guide** for SSR, SSG, and ISR support details.
::

::read-more{to="https://nitro.unjs.io/deploy/providers/edgeone" target="_blank"}
Head over to the **Nitro documentation** to learn more about the EdgeOne Pages deployment preset.
::
Binary file added public/assets/integrations/edgeone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.