# security-protection-web **Repository Path**: linsulab/security-protection-web ## Basic Information - **Project Name**: security-protection-web - **Description**: 安防项目 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-03 - **Last Updated**: 2026-07-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Empty Project 基于 [前端开发规范](./前端开发规范.md) 创建的 Vue 3 + TypeScript + Vite 项目。 ## 技术栈 - Vue 3 - 渐进式 JavaScript 框架 - TypeScript - JavaScript 的超集 - Vite - 下一代前端构建工具 - Less - CSS 预处理器 ## 开发规范 请严格遵守 [前端开发规范](./前端开发规范.md) 中的规定,包括: - 项目结构规范 - 命名规范 - 代码规范 - Vue 组件规范 - TypeScript 规范 - CSS/Less 规范 - Git 提交规范 ## 开始使用 ### 安装依赖 \`\`\`bash npm install # 或 pnpm install # 或 yarn install \`\`\` ### 启动开发服务器 \`\`\`bash npm run dev \`\`\` ### 构建生产版本 \`\`\`bash npm run build \`\`\` ### 代码检查 \`\`\`bash # ESLint 检查 npm run lint # Stylelint 检查 npm run lint:style # Prettier 格式化 npm run format \`\`\` ## 项目结构 \`\`\` src/ ├── assets/ # 静态资源 ├── components/ # 全局组件 ├── composables/ # 组合式函数(hooks) ├── config/ # 配置文件 ├── directives/ # 自定义指令 ├── layouts/ # 布局组件 ├── middleware/ # 路由中间件 ├── pages/ # 页面组件 ├── router/ # 路由配置 ├── stores/ # Pinia 状态管理 ├── styles/ # 全局样式 ├── types/ # 全局类型定义 ├── utils/ # 工具函数 ├── views/ # 视图页面 ├── App.vue # 根组件 └── main.ts # 入口文件 \`\`\` ## Git 提交规范 项目使用 Conventional Commits 规范: \`\`\`bash # 新功能 git commit -m "feat: add user login page" # 修复 Bug git commit -m "fix(auth): resolve token issue" # 文档更新 git commit -m "docs: update README" # 其他类型 git commit -m "style: format code" git commit -m "refactor: simplify code" git commit -m "perf: optimize performance" git commit -m "test: add unit tests" git commit -m "build: update build config" git commit -m "ci: add github actions" git commit -m "chore: update dependencies" \`\`\` ## License MIT