docs(emacs/programming): add information regarding Vue programming
All checks were successful
deploy / build (push) Successful in 5m27s
All checks were successful
deploy / build (push) Successful in 5m27s
This commit is contained in:
parent
03bde6015f
commit
4baaaadf02
@ -1671,5 +1671,16 @@ Tide enabled interactivity with Typescript.
|
|||||||
"roi" #'tide-organize-imports))
|
"roi" #'tide-organize-imports))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
**** Vue
|
||||||
|
There isn’t really any configuration in this heading, but an important
|
||||||
|
note concerning the usage of LSP with Vue. If the packages =typescript=
|
||||||
|
and =vue-tsc= are not in the =package.json= of a project, =volar= (or
|
||||||
|
=vue-semantic-server= according to =lsp-mode=) won’t start properly. The
|
||||||
|
simplest fix is to run the following command:
|
||||||
|
#+begin_src sh
|
||||||
|
npm install --save-dev vue-tsc typescript
|
||||||
#+end_src
|
#+end_src
|
||||||
|
Or replace =npm= with whichever package manager you prefer.
|
||||||
|
|
||||||
|
If you want to work with Vue in Emacs, =web-mode= is more than enough
|
||||||
|
when paired with an LSP server.
|
||||||
|
Loading…
Reference in New Issue
Block a user