https://github.com/lmmmmmm-bb/octo-exam
Vite + Vue3 的在线考试系统
https://github.com/lmmmmmm-bb/octo-exam
linter pinia pnpm typescript vite vue vue3
Last synced: 3 months ago
JSON representation
Vite + Vue3 的在线考试系统
- Host: GitHub
- URL: https://github.com/lmmmmmm-bb/octo-exam
- Owner: Lmmmmmm-bb
- License: mit
- Created: 2022-03-12T05:32:19.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-01T08:47:55.000Z (over 2 years ago)
- Last Synced: 2025-06-08T08:41:55.784Z (4 months ago)
- Topics: linter, pinia, pnpm, typescript, vite, vue, vue3
- Language: Vue
- Homepage: https://lmmmmmm-bb.github.io/octo-exam
- Size: 676 KB
- Stars: 11
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README

## 技术栈
- Vite
- Vue3 + Vue-Router4 + Pinia
- Axios
- ESLint + Prettier
- Commit Lint + Husky
- Element Plus + Tailwind CSS
- SCSS + SCSS-Typed-Modules
- pnpm## 启动项目
```shell
# 开发调试
> pnpm install # 安装依赖
> pnpm dev # 启动开发服务器
# 生产环境
> pnpm build # 构建生产环境
> pnpm preview # 本地预览
```## 一些问题的解答
### Why Pinia not Vuex
由于 Vuex4 对 TS 的支持不太友好,Pinia 有更好的 TS 支持和函数式思想,提供的 API 简单,上手也更快,所以最后选择了 Pinia。[对比 Pinia 和 Vuex](https://pinia.vuejs.org/introduction.html#comparison-with-vuex)
### Commit Lint Friendly
仓库使用了 `commit-lint` 和 `cz-customizable`,请使用 `pnpm commit` 代替 `git commit`。