Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitadf65a2

Browse files
refactor: update Volar recommeded plugin (vuejs#458)
And removes mentions of the now unused `Vue.vscode-typescript-vue-plugin`Fixesvuejs#455
1 parentac2bd3f commitadf65a2

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

‎template/base/.vscode/extensions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"recommendations": ["Vue.volar","Vue.vscode-typescript-vue-plugin"]
2+
"recommendations": ["Vue.volar"]
33
}

‎utils/generateReadme.ts

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,7 @@ const sfcTypeSupportDoc = [
44
'',
55
'## Type Support for `.vue` Imports in TS',
66
'',
7-
'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.',
8-
'',
9-
"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:",
10-
'',
11-
'1. Disable the built-in TypeScript Extension',
12-
" 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette",
13-
' 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`',
14-
'2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.',
7+
'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 [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) to make the TypeScript language service aware of `.vue` types.',
158
''
169
].join('\n')
1710

@@ -36,7 +29,7 @@ This template should help get you started developing with Vue 3 in Vite.
3629
3730
## Recommended IDE Setup
3831
39-
[VSCode](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).
32+
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur).
4033
${needsTypeScript ?sfcTypeSupportDoc :''}
4134
## Customize configuration
4235

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp