Package Exports
- create-cloudflare
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 (create-cloudflare) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
create-cloudflare
A CLI for creating and deploying new applications to Cloudflare.
Usage
Setup via Interactive CLI
To create new applications via interactive CLI, run:
npm create cloudflare@latest
# or
pnpm create cloudflare@latest
# or
yarn create cloudflareSetup via CLI Arguments
New Websites or Web applications via Frameworks
To create a new website or web framework without interaction, run:
npm create cloudflare@latest -- --type webFramework --framework <frameworkName>
# or
pnpm create cloudflare@latest ...
# or
yarn create cloudflare ...Currently supported framework options: angular, astro, docusaurus, gatsby, hono, next, nuxt, qwik, react, remix, solid, svelte, vue.
New Workers via Templates
To create a new Javascript "Hello World" worker, run:
npm create cloudflare@latest hello-world -- --type hello-world --no-tsTo create a new Typescript "Hello World" worker, run:
npm create cloudflare@latest hello-world -- --type hello-world --tsCurrent template options are: hello-world, common, chatgptPlugin, or openapi.
Additional arguments
--deploy |
deploy your application automatically, bypassing the interactive prompt |
--no-deploy |
create and scaffold a new application and bypass deployment prompt |
Community
- Join us on Discord
- File an issue on Github