Skip to content

About

A Vite plugin for SSR development on Cloudflare Pages. Includes convenient build tooling + a Miniflare integration for Vite's dev server (no need for a separate proxy server).

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

vite-plugin-cloudflare-pages npm

STATUS WORK IN-PROGRESS

// vite.config.js
import cfPages from "vite-plugin-cloudflare-pages";

export default {
  plugins: [cfPages()],
};

Options (TODO)

export interface Options {
  /* ... */
}

Example for passing options to something (TODO)

(cloudlflare? wrangler? miniflare?)

import cfPages from "vite-plugin-cloudflare-pages";

export default {
  plugins: [
    cfPages({
      /* ... */
    }),
  ],
};

Example for another thing (TODO)

import cfPages from "vite-plugin-cloudflare-pages";

/* ... */

Using Miniflare (TODO)

Requires miniflare@^X.X.X & vite@^X.X.X

Placeholder for text, descriptions, and notes.

/* Example usage with Miniflare... */

Another placeholder for text, descriptions, and notes.

License

MIT

About

A Vite plugin for SSR development on Cloudflare Pages. Includes convenient build tooling + a Miniflare integration for Vite's dev server (no need for a separate proxy server).

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages