Deploy Nuxt 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.
- 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:
Next, you'll need to initialize your project with Bip. This only needs to be done once.
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.
Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!