@whale-agency/vercel

1.3.0 • Public • Published

Frontity - Vercel builder

Use this builder to deploy a Frontity project in the Vercel. This package is a fork of @frontity/now

Before deploying

  1. Create this vercel.json file in your project and change the site url:
{
	"version": 2,
	"builds": [
		{
			"src": "package.json",
			"use": "@whale-agency/vercel"
		}
	]
}
  1. Create an account on Vercel. You can signup here.

  2. 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.

Readme

Keywords

Package Sidebar

Install

npm i @whale-agency/vercel

Weekly Downloads

1

Version

1.3.0

License

Apache-2.0

Unpacked Size

20.1 kB

Total Files

9

Last publish

Collaborators

  • donkoko