Skip the setup: deploy a Workers application in seconds
You can now add a Deploy to Cloudflare button to your repository’s README when building a Workers application, making it simple for other developers to set up and deploy your project!
I have heard many conversations about AI's role in the User Experience profession. Some of them assume that UXers will have nothing to do when AI takes over. Please hear me out before buying into…
USE NODE 16 TO DEPLOY
Implementation
Build with vite & vite-ssr-plugin. Can be run on any serverless environment. But optimized for Cloudflare Worker for now.
Folder structure
etc/dev-server Used only for local development, mimics Cloudflare Worker environment
src
pages
public Files that will be copied to production root folder
_app Like next.js
_error Like next.js
renderer Different root index files for client/server env
worker Source of Cloudflare Worker
wrangler.toml Cloudflare Worker specific
Todo
[] BaseURL [] Sentry [] Loading indicator