- Vue 3 + TypeScript + Element Plus 前端界面 - Pinia 状态管理 - Vue Router 4 路由管理 - Axios HTTP 客户端 - MSW (Mock Service Worker) 开发环境模拟 - 账户管理界面 (列表、详情、三科目余额展示) - 交易管理界面 (列表、详情) - 对账管理界面 (三账校验) - 完善的 API 客户端封装 - Docker 容器化配置 - Nginx 配置用于生产环境
37 lines
893 B
Markdown
37 lines
893 B
Markdown
# vue-tsc
|
|
|
|
Install: `npm i vue-tsc -D`
|
|
|
|
Usage: `vue-tsc --noEmit && vite build`
|
|
|
|
Vue 3 command line Type-Checking tool base on IDE plugin [Volar](https://github.com/vuejs/language-tools).
|
|
|
|
Roadmap:
|
|
|
|
- [x] Type-Checking with `--noEmit`
|
|
- [x] Use released LSP module
|
|
- [x] Make `typescript` as peerDependencies
|
|
- [x] Cleaner dependencies (remove `prettyhtml`, `prettier` etc.) (with `vscode-vue-languageservice` version >= 0.26.4)
|
|
- [x] dts emit support
|
|
- [x] Watch mode support
|
|
|
|
## Usage
|
|
|
|
Type check:
|
|
|
|
`vue-tsc --noEmit`
|
|
|
|
Build dts:
|
|
|
|
`vue-tsc --declaration --emitDeclarationOnly`
|
|
|
|
Check out https://github.com/vuejs/language-tools/discussions/640#discussioncomment-1555479 for example repo.
|
|
|
|
## Sponsors
|
|
|
|
<p align="center">
|
|
<a href="https://cdn.jsdelivr.net/gh/johnsoncodehk/sponsors/sponsors.svg">
|
|
<img src="https://cdn.jsdelivr.net/gh/johnsoncodehk/sponsors/sponsors.svg"/>
|
|
</a>
|
|
</p>
|