Skip to content

Commit

Permalink
(docs) update yarn instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm authored Apr 7, 2021
1 parent 992dc65 commit 1e47f20
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions packages/svelte-vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ Settings to toggle specific features of the extension. The full list of all sett
### Usage with Yarn 2 PnP

1. Run `yarn add -D svelte-language-server` to install svelte-language-server as a dev dependency
2. Run `yarn dlx @yarnpkg/pnpify --sdk vscode` to generate or update the VSCode/Yarn integration SDKs. This also sets the `svelte.language-server.ls-path` setting for the workspace, pointing it to the workspace-installed language server.
3. Restart VSCode.
4. Commit the changes to `.yarn/sdks`
2. Run `yarn dlx @yarnpkg/pnpify --sdk vscode` to generate or update the VSCode/Yarn integration SDKs.
3. Set the `svelte.language-server.ls-path` setting in your user configuration, pointing it to the workspace-installed language server.
4. Restart VSCode.
5. Commit the changes to `.yarn/sdks`

0 comments on commit 1e47f20

Please sign in to comment.