vite-plugin-cloudflared
v1.0.0
Published
Implement a cloudflare tunnel as part of your vite dev server
Downloads
7
Maintainers
Readme
Vite Plugin Cloudflared
Starts a cloudflare tunnel as part of your vite dev server
Getting Started
- Install vite and this plugin with your preferred package manager
npm install --save-dev vite-plugin-cloudflared
- Import and include the plugin in your
vite.config
file
import vitePluginCloudflared from 'vite-plugin-cloudflared';
export default defineConfig({
// ...
plugins: [
// ...
vitePluginCloudflared(...options),
// ...
],
});
- 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.