Skip to content

Commit db3ccf4

Browse files
authored
Remove section in README (#898)
Takeover mode is no longer needed since v2 of Vue - Official extension.
1 parent c55ac45 commit db3ccf4

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

templates/template-vue-ts/README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,3 @@ This template should help get you started developing with Vue 3 and TypeScript i
55
## Recommended IDE Setup
66

77
- [VS Code](https://code.visualstudio.com/) + [Vue - Official](https://marketplace.visualstudio.com/items?itemName=Vue.volar) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer)
8-
9-
## Type Support For `.vue` Imports in TS
10-
11-
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:
12-
13-
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.
14-
2. Reload the VS Code window by running `Developer: Reload Window` from the command palette.
15-
16-
You can learn more about Take Over mode [here](https://github.com/johnsoncodehk/volar/discussions/471).

0 commit comments

Comments
 (0)