template for creating webflow apps with CF Worker Hono API and Webflow designer extension
- Clone this repo
- Run
pnpm install
- Run
pnpm run dev
to start the client, server, and common packages in dev mode
- The common package in
packages/common
contains the shared types and utilities - The client package in
packages/client
contains the designer extension - The server package in
packages/server
contains the CF Worker API with Hono JS
cd packages/client
thenpnpm run build
to output your bundle.zip for Webflow.cd packages/server
thenpnpm run deploy
to output your worker.js for CF Worker.
cd packages/common
thenpnpm run build
to build the common package in watch mode.cd packages/client
thenpnpm run dev
to start the designer extension in watch mode.cd packages/server
thenpnpm run dev
to start the CF Worker API in dev mode.
https://dev.to/vinomanick/create-a-monorepo-using-pnpm-workspace-1ebn
https://developers.webflow.com/designer/reference/webflow-cli
https://developers.cloudflare.com/pages/framework-guides/deploy-a-hono-site/