- Notifications
You must be signed in to change notification settings - Fork0
Vite plugin forhttps://github.com/aidenybai/react-scan
License
NotificationsYou must be signed in to change notification settings
Rajaniraiyn/vite-plugin-react-scan
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A zero-configuration Vite plugin that seamlessly integratesreact-scan into your React development workflow.
- 🚀 Automatic integration of react-scan
- 🔧 Dev server only injection
- 🌐 Uses unpkg CDN for script loading
- 💨 Minimal setup required
- 🔥 Works with HMR
Install the plugin using your preferred package manager:
npm install vite-plugin-react-scan -D# oryarn add vite-plugin-react-scan -D# orpnpm add vite-plugin-react-scan -D# orbun add vite-plugin-react-scan -D
Add the plugin to yourvite.config.js orvite.config.ts:
import{defineConfig}from'vite';importreactfrom'@vitejs/react';importreactScanfrom'vite-plugin-react-scan';exportdefaultdefineConfig({plugins:[react(),reactScan()]});
- Automatically injects the react-scan script during development
- Only active during the development server
- Adds the script to the body of your HTML
- No manual configuration needed
- Vite
- React
MIT
Contributions are welcome! Please feel free to submit a Pull Request.
About
Vite plugin forhttps://github.com/aidenybai/react-scan
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.