Skip to content

Adapter for Svelte apps that builds a Cloudflare Workers application.

License

Notifications You must be signed in to change notification settings

oysteinsigholt/svelte-adapter-cloudflare-workers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⛔️ DEPRECATED

See the official package @sveltejs/adapter-cloudflare-workers.

svelte-adapter-cloudflare-workers

Adapter for Svelte apps that builds a Cloudflare Workers application.

Quickstart

  • Install Wrangler npm i @cloudflare/wrangler -g
  • Install adapter npm i -D svelte-adapter-cloudflare-workers
  • Modify svelte.config.js
     kit: {
       adapter: [
         'svelte-adapter-cloudflare-workers',
         {
           wrangler: {
             name: '',
             account_id: '',
           },
         },
       ],
       target: '#svelte',
     },
    
  • npm run build && npm run adapt
  • cd build && wrangler publish

About

Adapter for Svelte apps that builds a Cloudflare Workers application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published