volarjs / services

MIT License
134 stars 29 forks source link

how to use volar-plugins in vscode editor ? #8

Closed gdutwyg closed 2 years ago

gdutwyg commented 2 years ago

i had installed @volar-plugins/prettyhtml, and added volar.config.js. but it didn't useful。

johnsoncodehk commented 2 years ago

If the project in sub folder of your workspace, please make sure the volar.config.js is in the same directory with your tsconfig.

Please also check https://github.com/johnsoncodehk/volar-starter which has setup for @volar-plugins/prettyhtml already.