# Vue 3 + TypeScript + Vite
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
## Recommended IDE Setup
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
## Type Support For `.vue` Imports in TS
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
1. Disable the built-in TypeScript Extension
1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
没有合适的资源?快使用搜索试试~ 我知道了~
vite+vue3+ts+tsx+ant-design-vue项目框架搭建
共29个文件
ts:9个
json:5个
tsx:3个
0 下载量 132 浏览量
2023-12-11
15:03:51
上传
评论
收藏 107KB ZIP 举报
温馨提示
vite+vue3+ts+tsx+ant-design-vue项目框架搭建
资源推荐
资源详情
资源评论
收起资源包目录
my-vue-app.zip (29个子文件)
my-vue-app
.vscode
extensions.json 75B
tsconfig.node.json 213B
.env.dev 65B
src
style.css 1KB
main.ts 214B
store
modules
user.ts 304B
system.ts 484B
index.ts 494B
assets
vue.svg 496B
App.tsx 527B
components
router
index.ts 704B
vite-env.d.ts 234B
shims-vue.d.ts 343B
vue-tsx-shim.d.ts 2KB
views
home
index.tsx 670B
index.module.less 52B
user
index.tsx 176B
.prettierrc.js 940B
package.json 1KB
public
vite.svg 1KB
package-lock.json 353KB
.env.prod 62B
.eslintrc.cjs 628B
vite.config.ts 1KB
.env.alpha 67B
index.html 362B
.gitignore 253B
tsconfig.json 710B
README.md 1KB
共 29 条
- 1
资源评论
Helen_fight
- 粉丝: 69
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功