chore: move v2 docs to v2.nuxt.com

This commit is contained in:
Sébastien Chopin 2023-05-22 11:39:55 +02:00
parent bb28819d3c
commit 6d8c119a26
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ contact_links:
url: https://nuxt.com/docs/ url: https://nuxt.com/docs/
about: Check the documentation for usage of Nuxt 3 about: Check the documentation for usage of Nuxt 3
- name: 📚 Nuxt 2 Documentation - name: 📚 Nuxt 2 Documentation
url: https://nuxtjs.org/ url: https://v2.nuxt.com/
about: Check the documentation for usage of Nuxt 2 about: Check the documentation for usage of Nuxt 2
- name: 💬 Discussions - name: 💬 Discussions
url: https://github.com/nuxt/nuxt/discussions url: https://github.com/nuxt/nuxt/discussions

View File

@ -115,7 +115,7 @@ Follow the docs to [Set Up Your Local Development Environment](https://nuxt.com/
## Nuxt 2 ## Nuxt 2
You can find the code for Nuxt 2 on the [`2.x` branch](https://github.com/nuxt/nuxt/tree/2.x) and the documentation at [nuxtjs.org](https://nuxtjs.org). You can find the code for Nuxt 2 on the [`2.x` branch](https://github.com/nuxt/nuxt/tree/2.x) and the documentation at [v2.nuxt.com](https://v2.nuxt.com).
## Follow us ## Follow us

View File

@ -92,7 +92,7 @@ export default defineNuxtCommand({
console.log([ console.log([
'👉 Report an issue: https://github.com/nuxt/nuxt/issues/new', '👉 Report an issue: https://github.com/nuxt/nuxt/issues/new',
'👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new', '👉 Suggest an improvement: https://github.com/nuxt/nuxt/discussions/new',
`👉 Read documentation: ${isNuxt3OrBridge ? 'https://nuxt.com' : 'https://nuxtjs.org'}` `👉 Read documentation: ${isNuxt3OrBridge ? 'https://nuxt.com' : 'https://v2.nuxt.com'}`
].join('\n\n') + '\n') ].join('\n\n') + '\n')
} }
}) })