How to deploy with Bip?
Bip is a commercial hosting service which provides zero downtime deployment, a global CDN, SSL, unlimited bandwidth and more for NuxtJS static websites. Plans are available on a pay as you go, per domain basis.
The following guide will show you how to deploy your NuxtJS 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 NuxtJS 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 NuxtJS 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 initialise 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 NuxtJS, 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.