Skip to content

A minimal blog built with Nuxt3, deployed on Cloudflare Workers, with content supplied from Sanity.io.

License

Notifications You must be signed in to change notification settings

jvanst/nuxt3-blog

Repository files navigation


Nuxt3 Blog

A minimal blog built with Nuxt3, deployed on Cloudflare Workers, with content supplied from Sanity.io.

About The Project

Figured it was that time again, time to re-engineer my personal space on the internet. I wanted to convert my static 'about me' page, into a blog with dynamic content. Nuxt v3 stood out because its underlying nitro engine supports Worker based deployments. This was exciting because Cloudflare workers 'free' tier is practically unlimited. Now no money shall be shelled out for those few people that stop by my blog at https://jamesvan.ca.

My hope is this will inspire others to use Nuxt3 with Cloudflare workers, as my experience has been very enjoyable thus far.

Built With

Outstanding

Here's hoping I can get around polishing these remaining items:

  • Make this repository template ready for nuxt cli
  • Fix @sanity/client in Workers environment
  • Write github actions for CI to Cloudflare Workers

Getting Started

Installation

  1. Clone the repo
    git clone [email protected]:jvanst/nuxt3-blog.git
  2. Install dependencies
    yarn install
  3. Start the application
    yarn dev

Production & Deployment

Assuming deploying to CF workers:

  1. Build
NITRO_PRESET=cloudflare yarn build
  1. Deploy with wrangler
wrangler publish

(back to top)

About

A minimal blog built with Nuxt3, deployed on Cloudflare Workers, with content supplied from Sanity.io.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published