feat: 实现文件夹和书签的持久排序与拖拽功能

This commit is contained in:
2026-01-18 23:33:31 +08:00
parent 6eb3c730bb
commit dbeb181e5d
49 changed files with 3141 additions and 507 deletions

View File

@@ -1,5 +1,13 @@
# Vue 3 + Vite
# BrowserBookmark Extension
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
## 配置
Learn more about IDE Support for Vue in the [Vue Docs Scaling up Guide](https://vuejs.org/guide/scaling-up/tooling.html#ide-support).
复制 [apps/extension/.env.example](apps/extension/.env.example) 为 `.env`,按需修改:
- `VITE_SERVER_BASE_URL`:后端 API 地址(默认 `http://localhost:3001`
- `VITE_WEB_BASE_URL`Web 站点地址(用于 options 页“跳转 Web”
## 页面
- **popup**:添加当前页 + 书签目录(折叠文件夹 + 搜索),只允许新增(书签/文件夹),不提供删除/排序/管理。
- **options**:更多操作;未登录只显示登录页;登录后主页仅两项(跳转 Web / 退出登录)。