Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

NuxtJS on Cloudflare Workers

Find full article on how to deploy NuxtJS on Cloudflare at https://scotch.io/tutorials/deploying-a-static-nuxtjs-site-to-cloudflare-workers

Build Setup

# install dependencies
$ npm run install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm run start

# generate static project
$ npm run generate

For detailed explanation on how things work, check out Nuxt.js docs.

Publish to Cloudflare workers

Change account_id in wrangler.toml to your Cloudflare account id.

# generate static project & publish it to Cloudflare Workers
$ npm run publish

About

NuxtJS static site deployed to CloudFlare Workers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published