基于最新 vue 官方标准完善 tsconfig 相关配置 #71
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
该 PR 主要增加以下 typescript 相关功能:
@vue/tsconfig做为默认tsconfig.json的配置,源于 Vue 官方的 @vue/tsconfigbaseUrl和paths配置,源于 create-vue 官方的 tsconfig.jsonvue-tsc命令行类型检查工具,源于 volar 官方的 vue-tsc其他:
.gitignore忽略文件,基于 create-vue 官方的 .gitignorelang="en",避免浏览器端出现翻译弹窗。