@whale-agency/vercel
v1.3.0
Published
A Frontity builder for Vercel. Forked from @fontity/now-builder
Downloads
8
Readme
Frontity - Vercel builder
Use this builder to deploy a Frontity project in the Vercel. This package is a fork of @frontity/now
Before deploying
- Create this
vercel.json
file in your project and change the site url:
{
"version": 2,
"builds": [
{
"src": "package.json",
"use": "@whale-agency/vercel"
}
]
}
Create an account on Vercel. You can signup here.
Log in the terminal:
> npx vercel login
Deploy a test site
Deploy Frontity using this command:
> npx vercel
That will give you a unique URL for that deploy. Check that everything is ok.
Deploy a production site
You need to add a CNAME of www.your-site.com
to cname.vercel-dns.com
in your domain DNS settings.
Then, deploy Frontity using this command:
> npx vercel --prod
That will create a deploy and assign it to your real site url.