# vite-plugin-eruda-local **Repository Path**: thesadboy/vite-plugin-eruda-local ## Basic Information - **Project Name**: vite-plugin-eruda-local - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-03-07 - **Last Updated**: 2024-11-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Vite Plugin Eruda Local > 帮助你在开发环境自动打开 eruda 调试工具的vite插件,eruda从本地加载,不影响刷新后页面加载速度。 ### Install ```sh $ npm i -D vite-plugin-eruda-local eruda ``` ### Usage ```javascript import eruda from 'vite-plugin-eruda-local' module.exports = { plugins: [ // others eruda() ] } ``` ### Options #### `entry` 入口文件 - **类型:** `string | undefind` - **默认值:** `'undefind'` 可选属性,如果不填写,则通过正则`/src\/main\.(js|jsx|ts|tsx)$/`进行匹配,填写后通过 endsWith进行匹配。 ### License MIT