Skip to content

lg2/nuxtplugin-link-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

nuxtplugin-link-resolver

create a linkResolverbase on your ~/assets/jsons/link-resolver.json

  yarn add @lg2/nuxtplugin-link-resolver -D
  npm i @lg2/nuxtplugin-link-resolver -D
$lr({__typename:'ArticleRecord'})

How to use

~/plugins/link-resolver.js

import linkResolver from '@lg2/nuxtplugin-link-resolver'
export default (_ctx, inject) => {
  inject('lr', linkResolver)
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published