//nuxt-bridge-migration-toolsbywattanx

nuxt-bridge-migration-tools

0
0
0
1
TypeScript

This repository has been moved here.

nuxt-bridge-migration-tools

A tool to support migration to Nuxt Bridge.

Usage

@nuxtjs/composition-api migration

Convert @nuxtjs/composition-api for bridge.

npx @wattanx/nuxt-bridge-migration capi-import <files...>

Path to the target vue file, which can be set with the glob pattern. eg: src/**/*.vue

  • @nuxtjs/composition-api -> #imports
  • useContext -> useNuxtApp
  • useStore -> useNuxtApp
  • useMeta -> useHead
  • useAsync -> useLazyAsyncData
  • useFetch -> useLazyFetch
[beta]v0.14.0