1.0.0 • Published 12 months ago

vite-plugin-cloudflared v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

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.

1.0.0

12 months ago