You are browsing Nuxt 2 docs. Go to Nuxt 3 docs, or learn more about Nuxt 2 Long Term Support.

Deploy Nuxt with Bip

How to deploy a Nuxt app with Bip?


Bip is a commercial hosting service which provides zero downtime deployment, a global CDN, SSL, unlimited bandwidth and more for Nuxt static websites. Plans are available on a pay as you go, per domain basis.

The following guide will show you how to deploy your Nuxt static site to Bip in just a couple simple steps.

Prerequisites

  • You have Yarn installed.
  • You have the Bip CLI installed, along with a Bip account and domain ready to use. Visit the Bip Get Started guide for further instructions.

Step 1: Initial setup

You'll first need a Nuxt project ready to deploy and share with the world. If you need a project, use the create-nuxt-app :

Use Yarn to create your new project:

yarn create nuxt-app <project-name>

Follow the prompts to setup your Nuxt project. Ensure that when you reach the 'Deployment target' setting, select 'Static (Static/JAMstack hosting)'.

Once complete, move into your new directory:

cd <project-name>

Next, you'll need to initialize your project with Bip. This only needs to be done once.

bip init

Follow the prompts, where you'll be asked which domain you'd like to deploy to. Bip will detect that you're using Nuxt, and set project settings like the source file directory automatically.

Step 2: Deploy

You're now ready to deploy your website. To do so, run:

yarn generate && bip deploy

That's it! After a few moments, your website will be deployed.