Skip to content

Commit

Permalink
Russian translation: Get started (#773)
Browse files Browse the repository at this point in the history
* add eng get-started section content

* initial

* initial

* intial

* initial

* initial

* initial

* Translated directory-structure.md into Russian

* Update content/ru/guides/get-started/directory-structure.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/directory-structure.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/directory-structure.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/directory-structure.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/directory-structure.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/directory-structure.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* home page translation chunk #1

* home page translation chunk #2

* Updated installation.md

* Update content/ru/guides/get-started/installation.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/installation.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/installation.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/installation.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/installation.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* finish layout translation

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update i18n/ru-RU.js

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>

* Update conclusion.md

Add conclusion translate ru-RU

* Update content/ru/guides/get-started/conclusion.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/conclusion.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/conclusion.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/conclusion.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/conclusion.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/conclusion.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update installation.md

* Update content/ru/guides/get-started/installation.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/installation.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/installation.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/installation.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update routing.md

* Update content/ru/guides/get-started/routing.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/routing.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update upgrading.md

* Update content/ru/guides/get-started/upgrading.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/upgrading.md

Co-authored-by: DreaMinder <dreaminder7@gmail.com>

* Update content/ru/guides/get-started/directory-structure.md

* Update content/ru/guides/get-started/directory-structure.md

* Update content/ru/guides/get-started/routing.md

* Update content/ru/guides/get-started/upgrading.md

* Update content/ru/guides/get-started/conclusion.md

* Update content/ru/guides/get-started/conclusion.md

* Update content/ru/guides/get-started/conclusion.md

* Update content/ru/guides/get-started/conclusion.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/conclusion.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/directory-structure.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/directory-structure.md

* Update content/ru/guides/get-started/installation.md

* Update content/ru/guides/get-started/installation.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/installation.md

* Update content/ru/guides/get-started/installation.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/installation.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/installation.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/installation.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/routing.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/routing.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/conclusion.md

Co-authored-by: Taras Khvyl <taras_hvil@mail.ru>

* Update content/ru/guides/get-started/upgrading.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/upgrading.md

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

* Update content/ru/guides/get-started/conclusion.md

Co-authored-by: Taras Khvyl <taras_hvil@mail.ru>

* Update i18n/ru-RU.js

* Update content/ru/guides/get-started/conclusion.md

* Apply suggestions from code review

Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>

Co-authored-by: Ilya Artamonov <hire@ilya-artamonov.ru>
Co-authored-by: Spiridon <spiridonelectro@gmail.com>
Co-authored-by: Mila Kucher <merzavko.oi@gmail.com>
Co-authored-by: Natalia Tepluhina <tarya.se@gmail.com>
Co-authored-by: Taras Khvyl <taras_hvil@mail.ru>
Co-authored-by: Debbie O'Brien <debs-obrien@users.noreply.github.com>
  • Loading branch information
7 people authored Oct 13, 2020
1 parent 417909c commit e09aceb
Show file tree
Hide file tree
Showing 6 changed files with 656 additions and 129 deletions.
94 changes: 94 additions & 0 deletions content/ru/guides/get-started/conclusion.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
---
title: Заключение
description: Поздравляем! Вы создали ваше первое приложение на Nuxt.js и теперь можете смело называть себя Nuxter. Но Вам еще предстоит многому научиться чтобы увидеть все возможности Nuxt.js. У нас есть несколько рекомендаций для последующего обучения.
position: 4
category: get-started
questions:
- question: Как называется директория, обязательная для работы Nuxt.js?
answers:
- nuxt
- pages
- index
correctAnswer: pages
- question: Как называется файл c описанием вашего проекта?
answers:
- package.vue
- package.json
- package.js
correctAnswer: package.json
- question: Какую команду необходимо ввести в терминале, чтобы запустить проект Nuxt.js?
answers:
- npm dev
- npm run dev
- nuxt dev
correctAnswer: npm run dev
- question: Какой адрес у стартовой страницы вашего Nuxt.js приложения при запуске в режиме development?
answers:
- http://localhost:3000/
- http://localhost:3000/project-name:3000
- http://localhost:3000/nuxt:3000/
correctAnswer: http://localhost:3000/
- question: В каком файле можно изменять конфигурацию Nuxt.js?
answers:
- nuxt.config.json
- config.js
- nuxt.config.js
correctAnswer: nuxt.config.js
- question: Какая директория не подходит для размещения файлов с расширением `.vue`?
answers:
- pages
- static
- components
correctAnswer: static
- question: В какой директории вы будете размещать файлы с Вашими стилями?
answers:
- styles
- components
- assets
correctAnswer: assets
- question: В какой директории размещается robots.txt или favicon?
answers:
- assets
- components
- static
correctAnswer: static
- question: Какой компонент используется для навигации между страницами?
answers:
- '<Nuxt>'
- '<RouterLink>'
- '<NuxtLink>'
correctAnswer: '<NuxtLink>'
- question: '`<NuxtLink>` используется для внутренних ссылок, которые принадлежат приложению Nuxt.js?'
answers:
- Да
- Нет
correctAnswer: Да
---

Поздравляем! Вы создали ваше первое приложение на Nuxt.js и теперь можете смело называть себя Nuxter. Но вам еще предстоит многому научиться, чтобы увидеть все возможности Nuxt.js. У нас есть несколько рекомендаций для вашего последующего обучения:

<base-alert type="next">

Ознакомьтесь с [Concepts book](/guides/concepts/views)

</base-alert>

<base-alert type="next">

Работаем с [asyncData](/guides/features/data-fetching#async-data)

</base-alert>

<base-alert type="next">

Выбираем между [Режимами рендеринга](/guides/features/rendering-modes)

</base-alert>

<base-alert type="star">

Нравится Nuxt.js? Не забудьте [поставить звезду проекту](https://github.com/nuxt/nuxt.js) на GitHub

</base-alert>

<quiz :questions="questions"></quiz>
97 changes: 97 additions & 0 deletions content/ru/guides/get-started/directory-structure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
---
title: Структура директорий
description: Стандартная структура Nuxt.js приложения призвана стать хорошей отправной точкой для больших и малых проектов. Тем не менее, вы можете создать нужную вам структуру директорий.
position: 3
category: get-started
csb_link: https://codesandbox.io/embed/github/nuxt-academy/guides-examples/tree/master/01_get_started/03_directory_structure?fontsize=14&hidenavigation=1&theme=dark
---

Стандартная структура Nuxt.js приложения призвана стать хорошей отправной точкой для больших и малых проектов. Тем не менее, вы можете организовать собственную структуру директорий.

Давайте создадим директории и файлы, если их еще нет

```bash
mkdir components assets static
touch nuxt.config.js
```

Это основные директории и файлы, которые нужны для создания Nuxt.js приложения. Вы найдете информацию по каждой из них ниже.

<base-alert type="info">

Создание директорий с этими именами включает функции в вашем Nuxt.js проекте.

</base-alert>

## Директории

### Директория `pages`

Директория `pages` включает маршруты вашего приложения и их оформление. Фреймворк читает все ваши `.vue` файлы внутри директории и настраивает маршрутизацию приложения.

<base-alert type="next">

[Подробнее о страницах](/guides/directory-structure/pages)

</base-alert>

### Директория `components`


Директория `components` включает ваши Vue.js компоненты, которые вы будете импортировать в компоненты страниц.

С Nuxt.js вы можете создать компоненты и автоматически импортировать их в любые `.vue` файлы, не указывая при этом явно импорт этих компонентов в секции script. Nuxt.js будет сканировать и импортировать ваши компоненты автоматически, если в файле конфигурации установлено `components: true`.

<base-alert type="next">

[Подробнее о компонентах](/guides/directory-structure/components)

</base-alert>

### Директория `assets`

Директория `assets` включает ваши нескомпилированные ресурсы, такие как Stylus или Sass файлы, изображения, или шрифты.

<base-alert type="next">

[Подробнее о ресурсах](/guides/directory-structure/assets)

</base-alert>

### Директория `static`

Директория `static` напрямую сопоставлена с корнем сервера (`/static/robots.txt` будет доступен на `http://localhost:3000/robots.txt`) и включает файлы, которые не будут изменяться (например, иконка приложения)

<base-alert type="next">

[Подробнее о директории static](/guides/directory-structure/static)

</base-alert>

### Файл nuxt.config.js

Файл `nuxt.config.js` включает ваши настройки Nuxt.js. Если вам нужно добавить модули или изменить настройки по умолчанию, то это место, где это можно сделать.

<base-alert type="next">

[Подробнее о `nuxt.config.js`](/guides/directory-structure/nuxt-config)

</base-alert>

### Файл package.json

Файл `package.json` включает зависимости и скрипты вашего приложения.

<app-modal>
<code-sandbox :src="csb_link"></code-sandbox>
</app-modal>

## Больше о структуре проекта

Существуют другие полезные директории: [content](/guides/directory-structure/content), [layouts](/guides/directory-structure/layouts), [middleware](/guides/directory-structure/middleware), [modules](/guides/directory-structure/modules), [plugins](/guides/directory-structure/plugins) и [store](/guides/directory-structure/store). Они не нужны для небольших приложений и здесь мы их не рассматриваем.

<base-alert type="next">

Чтобы детально изучить директории, прочтите [раздел о структуре директорий](/guides/directory-structure/nuxt).

</base-alert>
Loading

0 comments on commit e09aceb

Please sign in to comment.