vite-plugin-cloudflared
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Vite Plugin Cloudflared

Starts a cloudflare tunnel as part of your vite dev server

Getting Started

  1. Install vite and this plugin with your preferred package manager

npm install --save-dev vite-plugin-cloudflared

  1. Import and include the plugin in your vite.config file
import vitePluginCloudflared from 'vite-plugin-cloudflared';

export default defineConfig({
  // ...
  plugins: [
    // ...
    vitePluginCloudflared(...options),
    // ...
  ],
});
  1. Configure the plugin options as needed. All options passed to the plugin are passed directly to the cloudflared cli tunnel command. You can find a list of cli commands here

Bugs

Please create an issue if you experience any issues.

Package Sidebar

Install

npm i vite-plugin-cloudflared

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

4.33 kB

Total Files

5

Last publish

Collaborators

  • notmike101