Skip to content

Commit

Permalink
docs: update guide
Browse files Browse the repository at this point in the history
  • Loading branch information
wattanx committed Jan 14, 2024
1 parent 61de749 commit 8d72c07
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions docs/cli/nuxt-bridge-migration-tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,24 @@ title: Nuxt Bridge Migration Tools

A tool to support migration to Nuxt Bridge.

## Upgrade Steps

- [TypeScript](https://nuxt.com/docs/bridge/typescript)
- [Migrate Legacy Composition API](#migrate-legacy-composition-api)
- [docs](https://nuxt.com/docs/bridge/bridge-composition-api)
- [Plugins and Middleware](https://nuxt.com/docs/bridge/plugins-and-middleware)
- [Migrate New Composition API](#migrate-new-composition-api)
- [docs](https://nuxt.com/docs/bridge/nuxt3-compatible-api)
- [Meta Tags](https://nuxt.com/docs/bridge/meta)
- [Runtime Config](https://nuxt.com/docs/bridge/runtime-config)
- [Nitro](https://nuxt.com/docs/bridge/nitro)
- [Vite](https://nuxt.com/docs/bridge/vite)

## Usage

### Migrating from `@nuxtjs/composition-api` to `@nuxt/bridge` capi legacy
### Migrate Legacy Composition API

convert from `@nuxtjs/composition-api` to the capi legacy of `@nuxt/bridge`.
convert from `@nuxtjs/composition-api` to the legacy Composition API of `@nuxt/bridge`.

```bash
npx @wattanx/nuxt-bridge-migration@latest capi-legacy <files...>
Expand All @@ -29,7 +42,7 @@ const {

[useRoute migration](/cli/nuxt-bridge-migration-tools#useroute-migration)

### Migrating from `@nuxtjs/composition-api`
### Migrate New Composition API

Convert to nuxt 3 compatible composables in nuxt bridge.

Expand Down

0 comments on commit 8d72c07

Please sign in to comment.