Package Exports
- @frontity/now
- @frontity/now/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@frontity/now) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Frontity - Now builder
Use this builder to deploy a Frontity project in the Zeit Now hosting.
Before deploying
- Create this
now.jsonfile in your project and change the site url:
{
"alias": "www.your-site.com",
"version": 2,
"builds": [
{
"src": "package.json",
"use": "@frontity/now"
}
]
}Create an account on Now. You can signup here.
Log in the terminal:
> npx now loginDeploy a test site
Deploy Frontity using this command:
> npx nowThat 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 alias.zeit.co in your domain DNS settings.
Then, deploy Frontity using this command:
> npx now --target productionThat will createa a deploy and assign it to your real site url.