Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(ru): update translations #4323

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/ru/guide/using-vue.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,3 +251,37 @@ import ComponentInHeader from '../../components/ComponentInHeader.vue'
padding: 0 20px;
}
</style>


## Поддержка VS Code IntelliSense

<!-- Based on https://github.com/vuejs/language-tools/pull/4321 -->

Vue предоставляет поддержку IntelliSense из коробки через [официальный плагин Vue для VS Code](https://marketplace.visualstudio.com/items?itemName=Vue.volar). Однако, чтобы включить её для файлов `.md`, вам нужно внести некоторые изменения в файлы конфигурации.

1. Добавьте шаблон `.md` в параметры `include` и `vueCompilerOptions.vitePressExtensions` в файле tsconfig/jsconfig:

::: code-group
```json [tsconfig.json]
{
"include": [
"docs/**/*.ts",
"docs/**/*.vue",
"docs/**/*.md",
],
"vueCompilerOptions": {
"vitePressExtensions": [".md"],
},
}
```
:::

2. Добавьте `markdown` в параметр `vue.server.includeLanguages` в настройках VS Code:

::: code-group
```json [.vscode/settings.json]
{
"vue.server.includeLanguages": ["vue", "markdown"]
}
```
:::
2 changes: 1 addition & 1 deletion docs/ru/reference/site-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ export default {

### srcExclude {#srcexclude}

- Тип: `string`
- Тип: `string[]`
- По умолчанию: `undefined`

[Шаблон](https://github.com/mrmlnc/fast-glob#pattern-syntax) для поиска файлов, которые должны быть исключены из исходного содержимого.
Expand Down