https://github.com/ospoon/vue3-ts-template
https://github.com/ospoon/vue3-ts-template
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ospoon/vue3-ts-template
- Owner: OSpoon
- License: mit
- Created: 2021-04-27T13:09:15.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-27T13:09:17.000Z (about 5 years ago)
- Last Synced: 2025-05-19T05:05:39.682Z (about 1 year ago)
- Language: Vue
- Size: 169 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Vite2.x + Vue3.x + TypeScript Starter
[](https://github.com/XPoet)
[](https://github.com/XPoet/vite-vue3-starter/blob/master/LICENSE)
[](https://github.com/XPoet/vite-vue3-starter)
[](https://github.com/XPoet/vite-vue3-starter/actions/workflows/deploy.yml)
[](https://github.com/lin-123/javascript)
## 在线预览
https://vite-vue3-starter.xpoet.cn/
## 交流群
- 扫描下方二维码,加入微信交流群,欢迎小伙伴们畅所欲言,包括但不限于前端技术问题,大家一起成长~

- 如果上面的二维码失效,可关注公众号《前端鼓励师》,添加作者微信,再由作者拉你进群~

## 搭建教程
1️⃣ [掘金](https://juejin.cn/post/6951649464637636622) 2️⃣ [XPoet's Blog](https://xpoet.cn/2021/04/%E4%BB%8E-0-%E5%BC%80%E5%A7%8B%E6%89%8B%E6%8A%8A%E6%89%8B%E5%B8%A6%E4%BD%A0%E6%90%AD%E5%BB%BA%E4%B8%80%E5%A5%97%E8%A7%84%E8%8C%83%E7%9A%84-Vue3.x-%E5%B7%A5%E7%A8%8B%E5%8C%96%E9%A1%B9%E7%9B%AE/)
## 技术栈
- 编程语言:[TypeScript 4.x](https://www.typescriptlang.org/zh/) + [JavaScript](https://www.javascript.com/)
- 构建工具:[Vite 2.x](https://cn.vitejs.dev/)
- 前端框架:[Vue 3.x](https://v3.cn.vuejs.org/)
- 路由工具:[Vue Router 4.x](https://next.router.vuejs.org/zh/index.html)
- 状态管理:[Vuex 4.x](https://next.vuex.vuejs.org/)
- UI 框架:[Element Plus](https://element-plus.org/#/zh-CN)
- CSS 预编译:[Stylus](https://stylus-lang.com/) / [Sass](https://sass.bootcss.com/documentation) / [Less](http://lesscss.cn/)
- HTTP 工具:[Axios](https://axios-http.com/)
- Git Hook 工具:[husky](https://typicode.github.io/husky/#/) + [lint-staged](https://github.com/okonet/lint-staged)
- 代码规范:[EditorConfig](http://editorconfig.org) + [Prettier](https://prettier.io/) + [ESLint](https://eslint.org/) + [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript#translation)
- 提交规范:[Commitizen](http://commitizen.github.io/cz-cli/) + [Commitlint](https://commitlint.js.org/#/)
- 单元测试:[vue-test-utils](https://next.vue-test-utils.vuejs.org/) + [jest](https://jestjs.io/) + [vue-jest](https://github.com/vuejs/vue-jest) + [ts-jest](https://kulshekhar.github.io/ts-jest/)
- 自动部署:[GitHub Actions](https://docs.github.com/cn/actions/learn-github-actions)
## 快速开始
### 安装依赖
```sh
npm install
# or
yarn add
```
### 启动项目
```sh
npm run dev
```
### 项目打包
```sh
npm run build
```
## 许可
MIT Copyright © 2021 XPoet