65cf80fb511e4e2905555452450833aaec476565
- 添加侧边栏组件,支持展开/收缩和移动端适配 - 实现导航菜单,支持高亮当前路由 - 添加主题选择器组件 - 集成认证状态显示和登出功能 - 优化侧边栏在不同屏幕尺寸下的行为 - 添加多种图标支持,包括logo、菜单、主页等 - 创建NavItem类型定义,用于导航菜单项 - 扩展sidebarStore,增加手动控制状态管理 - 添加数据看板页面占位内容 - 更新全局布局文件以支持主题和侧边栏状态管理
sv
Everything you need to build a Svelte project, powered by sv.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-app
Developing
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.
Description
Languages
Svelte
63.6%
TypeScript
34.1%
JavaScript
1.7%
CSS
0.4%
HTML
0.2%