# 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.

缠中说禅87
- 粉丝: 1313
最新资源
- 函数式编程到底能干嘛?一篇文章彻底明白Java Stream原理.doc
- K8s滚动发布和回滚机制实战,建议收藏.doc
- 系统崩了,结果只是时间戳格式写错了!完整复盘.doc
- MySQL Binlog同步机制原理图解,新人也能看懂.doc
- React + TypeScript 项目结构最佳实践(2025年版).doc
- 你所不知道的Nginx反向代理高级用法,全网最全配置讲解.doc
- Spring Boot启动慢?看我如何缩短30秒启动到3秒.doc
- Java中的“final”关键字,你真的理解它了吗?.doc
- 前端性能优化清单2025版:从FCP到CLS一个不漏.doc
- 说破天也没用!只有写个示例你才懂什么叫线程安全.doc
- RESTful接口设计十个必须遵循的规范(附案例).doc
- 踩过5个坑后,我才弄明白Spring事务失效的真正原因!.doc
- 我用ChatGPT辅助写测试用例,效率提升不止一点点.doc
- 不要再用传统方式导出Excel!Java + EasyExcel秒出百万数据.doc
- 使用ElasticSearch实现商品搜索联想功能全流程.doc
- 用了这么久MySQL,你知道limit分页其实隐藏性能陷阱吗?.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



- 1
- 2
- 3
前往页