feat(sidebar): 实现响应式侧边栏状态管理
- 添加媒体查询监听以自动切换侧边栏显示状态 - 引入sidebarStore统一管理侧边栏开闭逻辑 - 移除页面内联侧边栏展开控制逻辑 - 添加Sprite图标组件客户端渲染条件判断 - 更新侧边栏样式类名以支持过渡动画效果 - 移除用户信息展示相关冗余代码块
This commit is contained in:
@@ -11,10 +11,6 @@
|
||||
"sourceMap": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "bundler"
|
||||
}
|
||||
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
||||
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
||||
//
|
||||
// To make changes to top-level options such as include and exclude, we recommend extending
|
||||
// the generated config; see https://svelte.dev/docs/kit/configuration#typescript
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user