# 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)
## Type Support For `.vue` Imports in TS
Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's Take Over mode by following these steps:
1. Run `Extensions: Show Built-in Extensions` from VS Code's command palette, look for `TypeScript and JavaScript Language Features`, then right click and select `Disable (Workspace)`. By default, Take Over mode will enable itself if the default TypeScript extension is disabled.
2. Reload the VS Code window by running `Developer: Reload Window` from the command palette.
You can learn more about Take Over mode [here](https://github.com/johnsoncodehk/volar/discussions/471).
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
























收起资源包目录










































































共 56 条
- 1
资源评论


会说法语的猪
- 粉丝: 817
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 人工智能与农业经济深度融合研究(1).docx
- 基于PLC的火灾自动报警控制系统的毕业设计论文.doc
- 通信工程一体化项目管理的组织管理模式研究(1).docx
- 软件测试报告(案例).doc
- 互联网+时代区级图书馆少儿阅读推广工作策略探究(1).docx
- 基于BP神经网络的手写数字识别研究人工智能.doc
- 云计算与大数据学习心得(1).docx
- 基于JSP技术的图书馆信息管理系统开发与设计-本科毕业设计论文(1)(1).doc
- Evtdpi自动化PLC相关毕业论文范文.doc
- 基于plc的矿井提升机变频调速系统.doc
- 基于STM32的智能家居设计(1).docx
- 基于PLC彩灯控制系统的设计《PLC彩灯设计》.doc
- 农业物联网技术应用及创新发展策略(1)(1).docx
- 电气自动化毕业论文.doc
- 中期报告网上商城JAVA.doc
- 多媒体计算机主要硬件系统和软件系统组成.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
