Skip to content

Conversation

@Megasu
Copy link

@Megasu Megasu commented Jan 10, 2023

该 PR 主要增加以下 typescript 相关功能:

  1. 增加 @vue/tsconfig 做为默认 tsconfig.json 的配置,源于 Vue 官方的 @vue/tsconfig
  2. 增加 baseUrlpaths 配置,源于 create-vue 官方的 tsconfig.json
  3. 增加 vue-tsc 命令行类型检查工具,源于 volar 官方的 vue-tsc

其他:

  • 增加 .gitignore 忽略文件,基于 create-vue 官方的 .gitignore
  • 删除冗余 lang="en",避免浏览器端出现翻译弹窗。

@Megasu Megasu changed the title 基于 vue3-ts 标准完善 tsconfig 配置 基于 vue3-ts 标准完善 tsconfig 相关配置 Jan 10, 2023
@Megasu Megasu changed the title 基于 vue3-ts 标准完善 tsconfig 相关配置 基于 vue3-ts 官方标准完善 tsconfig 相关配置 Jan 10, 2023
@Megasu Megasu changed the title 基于 vue3-ts 官方标准完善 tsconfig 相关配置 基于最新 vue 官方标准完善 tsconfig 相关配置 Jan 10, 2023
@fxy060608 fxy060608 merged commit a929637 into dcloudio:vite-ts Jan 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants