File tree Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Expand file tree Collapse file tree 1 file changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -34,23 +34,10 @@ module.exports = webpackConfig
3434
3535## Note on Vue 2 support
3636
37- This package supports both ** Vue 2** and ** Vue 3** by installing legacy ` vue-loader ` for Vue 2 in a ` postinstall ` script.
38-
39- In Vue 2 it may result in different ` vue-loader ` version in the ` package-lock.json ` and ` node_modules ` .
40-
41- ### Troubleshooting in Vue 2 apps
42-
43- In case of ` npm error code ENOTEMPTY ` - remove ` node_modules ` and try again:
44-
45- ``` sh
46- # In case of "npm error code ENOTEMPTY" in Vue 2
47- rm -rf node_modules
48- ```
49-
50- To avoid any errors and have explicitly specified ` vue-loader ` - install it as dependency:
37+ This package supports both ** Vue 2** and ** Vue 3** .
38+ While ** Vue 3** is supported by default, ** Vue 2** requires an explicit legacy ` vue-loader ` installation:
5139
5240``` sh
53- # Install legacy vue-loader for Vue 2
5441npm i -D vue-loader@legacy
5542```
5643
You can’t perform that action at this time.
0 commit comments