mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 10:40:03 +08:00
e33aeb1b00
Problem: failed to lint vue file. Solution: 1. change eslint-plugin-html to eslint-plugin-vue 2. update vue layer page 3. add `:h SpaceVim-layers-lang-vue` close https://github.com/SpaceVim/SpaceVim/issues/4488
945 B
945 B
title | description |
---|---|
SpaceVim lang#vue layer | This layer adds Vue language support to SpaceVim |
Available Layers >> lang#vue
Description
This layer adds Vue language support to SpaceVim. This layer includes plugin vim-vue.
Installation
Enable language layer
The lang#vue
layer is not loaded by default, to use this layer,
you need to add following snippet into your spacevim configuration file.
[[layers]]
name = "lang#vue"
Language tools
-
syntax checking:
checker
layer provides syntax checking feature, and for vue it uses theeslint
andeslint-plugin-vue
package:npm install -g eslint eslint-plugin-vue