docs(bridge): fix bridge composition api link (#4147)

This commit is contained in:
Daniel Roe 2022-04-07 10:03:38 +01:00 committed by GitHub
parent 1ffcc741dc
commit 4d6f77bae4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
/getting-started/installation /getting-started/quick-start 302!
/getting-started/commands /api/commands/add 302!
/getting-started/bridge /bridge 302!
/getting-started/bridge-composition-api /bridge/bridge-composition-api 302!
# Concepts
/concepts/introduction /guide/concepts/introduction 302!
/concepts/vuejs-development /guide/concepts/vuejs-development 302!

View File

@ -62,7 +62,7 @@ export { ref }
// Common deprecation utils
// TODO: Add migration guide docs to @nuxtjs/composition-api
const checkDocsMsg = 'Please see https://v3.nuxtjs.org/getting-started/bridge-composition-api for more information.'
const checkDocsMsg = 'Please see https://v3.nuxtjs.org/bridge/bridge-composition-api for more information.'
const msgPrefix = '[bridge] [legacy capi]'
const unsupported = message => () => { throw new Error(`${msgPrefix} ${message} ${checkDocsMsg}`) }
const _warned = {}