# wxt-chromeplugin **Repository Path**: linex0816/wxt-chromeplugin ## Basic Information - **Project Name**: wxt-chromeplugin - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-04-19 - **Last Updated**: 2025-04-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Q_Chat - 聊天机器人插件 ![Plugin Icon](public/icon/16.svg) 一个基于Vue 3和WXT框架开发的Chrome/Firefox浏览器插件,提供聊天机器人功能。 ## 功能特点 - 浏览器内聊天机器人界面 - 支持本地存储聊天记录 - 可配置的选项页面 - 跨浏览器支持(Chrome/Firefox) ## 技术栈 - Vue 3 + TypeScript - WXT浏览器扩展框架 - Vant UI组件库 ## 安装指南 ### 开发环境 1. 克隆仓库 2. 安装依赖: ```bash npm install ``` 3. 启动开发服务器: ```bash npm run dev ``` ### 生产构建 构建Chrome版本: ```bash npm run build ``` 构建Firefox版本: ```bash npm run build:firefox ``` 生成zip包: ```bash npm run zip ``` ## 项目结构 ``` ├── components/ # Vue组件 ├── entrypoints/ # 插件入口点 │ ├── background.ts # 后台脚本 │ ├── content.ts # 内容脚本 │ ├── options/ # 选项页面 │ └── popup/ # 弹出页面 ├── public/ # 静态资源 └── wxt.config.ts # 插件配置 ```