This website requires JavaScript.
Explore
Help
Register
Sign In
Tory
/
go-sms-V2
Watch
1
Star
0
Fork
0
Code
Issues
6
Pull Requests
Actions
3
Packages
Projects
Releases
Wiki
Activity
Files
7a6218faf4755555093cb9483ed92c0472fabd19
go-sms-V2
/
web-next
/
.env.development
T
Tory
9afab52239
Issue#6·B1: web-next 契约基座落地(零 EP/零旧影子新工程)—— ①脚手架:package.json(vue3.5+pinia+vue-router+axios+chart.js/vue-chartjs,无 EP)/vite.config(:5174+proxy /api→8080+alias @)/tsconfig(ES2021)/postcss/tailwind.config(sub2api 直用)/index.html/.env×2; ②styles/tailwind.css=sub2api style.css 775行直拷+契约补充段(stat-card 族+body.folded 折叠态); ③IconSprite=契约 SVG defs 24 symbol 直挂(全站图标唯一来源,零图标库); ④逻辑层复制27文件(api 15/stores 3/router 2/data releases/utils 3),grep element-plus 全域归零; ⑤壳层契约重实现:BasicLayout(mainWrap+keep-alive include=cachedNames)+AppSidebar(256/折叠72+RBAC 分组菜单,与守卫 accessibleRoutes 同源)+AppHeader(glass blur 顶栏/主题/用户菜单)+TagsBar(Issue#2 语义:fullPath 身份/中键/关闭其他/全部/home 固定)+VersionBadge(Issue#4 红点/markSeen); ⑥LoginView=sub2api AuthLayout 范式(渐变+光斑+网格+card-glass); ⑦36 视图路由契约占位(name/title/group/roles/subtitle 对齐旧 routes,icon 换契约 #i-*,component=ComingSoon,B2/B3 逐页实装); ⑧验收:vue-tsc 0 错/vite build ✓(主包 gzip 68KB)/chrome 冒烟 10/10(登录→壳→RBAC 34 链接 7 组→标签条→版本徽章 markSeen→主题折叠)/契约 style 断言 8/8(teal 渐变/256/72/glass blur24/亮 gray-50/暗 slate-950)
2026-11-18 10:58:18 +08:00
2 lines
26 B
Bash
Raw
Blame
History
VITE_API_BASE_URL
=
/api/v1
Reference in New Issue
View Git Blame
Copy Permalink