Vite2.x + Vue3.x + TypeScript Starter
在线预览
https://vite-vue3-starter.xpoet.cn/
前端技术交流群
因群成员大于 200 人,需要您关注公众号《前端鼓励师》,添加作者微信,再由作者拉你进群~
搭建教程
技术栈
- 编程语言:TypeScript 4.x + JavaScript
- 构建工具:Vite 2.x
- 前端框架:Vue 3.x
- 路由工具:Vue Router 4.x
- 状态管理:Vuex 4.x
- UI 框架:Element Plus
- CSS 预编译:Stylus / Sass / Less
- HTTP 工具:Axios
- Git Hook 工具:husky + lint-staged
- 代码规范:EditorConfig + Prettier + ESLint + Airbnb JavaScript Style Guide
- 提交规范:Commitizen + Commitlint
- 单元测试:vue-test-utils + jest + vue-jest + ts-jest
- 自动部署:GitHub Actions
快速开始
安装依赖
npm install
# or
yarn add
启动项目
npm run dev
项目打包
npm run build
许可
MIT Copyright © 2021 XPoet