|
| 1 | +--- |
| 2 | +title: Azion |
| 3 | +description: "Deploy your Nuxt Application to Azion Web Platform." |
| 4 | +logoSrc: "/assets/integrations/azion.svg" |
| 5 | +category: Hosting |
| 6 | +website: "https://www.azion.com/en" |
| 7 | +--- |
| 8 | + |
| 9 | +Nuxt supports deploying on [Azion](https://azion.com/) with minimal configuration. |
| 10 | + |
| 11 | +Azion is a web platform that allows you to deploy your Nuxt applications globally. It provides a fast and secure way to serve your applications with low latency. |
| 12 | + |
| 13 | +## Deploy to Azion |
| 14 | + |
| 15 | +To deploy your Nuxt application to Azion, you need to install the Azion CLI. You can install it by following this [guide](https://www.azion.com/en/documentation/products/azion-cli/overview/#installing-azion-clil). |
| 16 | + |
| 17 | +Once you have the Azion CLI installed, you can deploy your application by following these steps: |
| 18 | + |
| 19 | +1. Link your application. This will create a new project in Azion and link it to your local application. |
| 20 | + |
| 21 | +```shell |
| 22 | +azion link |
| 23 | +``` |
| 24 | + |
| 25 | +Confirm the linking of the project to Azion: |
| 26 | + |
| 27 | +```shell |
| 28 | +? Do you want to link /[your-application-folder] to Azion? (y/N) |
| 29 | +``` |
| 30 | + |
| 31 | +Enter the desired name for your **application**: |
| 32 | + |
| 33 | +```shell |
| 34 | +? (Hit enter to accept the suggested name in parenthesis) Your application's name: (nimble-tyrion) |
| 35 | +``` |
| 36 | +
|
| 37 | +Choose a **preset**, `Nuxt` is the option you are looking for: |
| 38 | +
|
| 39 | +```shell |
| 40 | +? Choose a preset: [Use arrows to move, type to filter] |
| 41 | + ... |
| 42 | +> Nuxt |
| 43 | + ... |
| 44 | +``` |
| 45 | +
|
| 46 | +Now, the application will be linked to Azion. Different processes occur based on the selected preset, so you need to answer the interactions that are presented. |
| 47 | +
|
| 48 | +2. Deploy your application. This will build your application and deploy it to Azion. |
| 49 | +
|
| 50 | +```shell |
| 51 | +azion deploy |
| 52 | +``` |
| 53 | +
|
| 54 | +3. Wait while the project is built and deployed to the Azion Web Platform. |
| 55 | +
|
| 56 | +::tip |
| 57 | +Once the deployment is triggered, Azion will open the browser and take you to a page on the Azion Console where the deployment logs and process can be monitored. If it doesn't open automatically, just click on the provided link. |
| 58 | +After the deployment is complete, you'll receive a domain to access your Nuxt project on the Azion Platform. |
| 59 | +:: |
| 60 | +
|
| 61 | +Wait a few minutes for propagation to take place, and then access your application using the provided domain, which should be similar to `https://xxxxxxx.map.azionedge.net`. |
| 62 | +
|
| 63 | +## Learn more |
| 64 | +
|
| 65 | +::read-more{to="https://www.azion.com/en/documentation/products/guides/nuxt-static-boilerplate/" target="\_blank"} |
| 66 | +**Guide**: How to deploy the Nuxt 3 Static Boilerplate |
| 67 | +:: |
| 68 | +
|
| 69 | +::read-more{to="https://www.azion.com/en/documentation/" target="\_blank"} |
| 70 | +Head over **Azion Web Platform documentation** to learn more. |
| 71 | +:: |
0 commit comments