File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,23 +47,23 @@ module.exports = {
47
47
```
48
48
## stylelint
49
49
50
- [ stylelint] ( https://stylelint.io ) supports linting style parts of Vue single file components .
50
+ [ stylelint] ( https://stylelint.io ) поддерживает проверку секций стилей в однофайловых компонентах Vue .
51
51
52
- [ Make sure that your stylelint config is right .] ( https://stylelint.io/user-guide/configuration/ )
52
+ [ Убедитесь, что ваша конфигурация stylelint корректна .] ( https://stylelint.io/user-guide/configuration/ )
53
53
54
- Затем в командной строке:
54
+ Затем выполните в командной строке:
55
55
56
56
``` bash
57
57
stylelint MyComponent.vue
58
58
```
59
59
60
- Другим вариантом использования будет [ stylelint-webpack-plugin] ( https://github.com/webpack-contrib/stylelint-webpack-plugin ) :
60
+ Вы также можете использовать плагин [ stylelint-webpack-plugin] ( https://github.com/webpack-contrib/stylelint-webpack-plugin ) :
61
61
62
62
``` bash
63
63
npm install -D stylelint-webpack-plugin
64
64
```
65
65
66
- Make sure it's applied as a plugin :
66
+ Убедитесь, что добавили плагин в конфигурацию :
67
67
68
68
``` js
69
69
// webpack.config.js
You can’t perform that action at this time.
0 commit comments