Seamless hot reloading for Webflow applications during development.
- Instant updates: Reflect code changes in your Webflow App without manual reloads.
- Vite plugin: Easy integration with Vite-based workflows.
Install as a dev dependency in your project:
# Yarn
yarn add -D @xatom/wf-app-hot-reload
# PNPM
pnpm install -D @xatom/wf-app-hot-reload
Warning: This plugin is for development only. Do not include it in production bundles.
Before deploying, always build and test your App using the Webflow CLI without this plugin.
-
Update your
vite.config.js
:import { defineConfig } from "vite"; import wfHotReload from "@xatom/wf-app-hot-reload"; export default defineConfig({ plugins: [ wfHotReload(), // other plugins... ], });
-
Run your development server:
yarn dev # or pnpm dev
Any edits to your source files will now trigger hot reloads in your Webflow App.
No additional setup is required out of the box. The plugin works with your existing Vite configuration.
MIT