api-mapper-nuxt-module

nuxt module for mapping uri and response props of rest api

Usage no npm install needed!

<script type="module">
  import apiMapperNuxtModule from 'https://cdn.skypack.dev/api-mapper-nuxt-module';
</script>

README

api-mapper-nuxt-module

npm version npm downloads Circle CI Codecov Dependencies Standard JS

nuxt module for mapping uri and response props of rest api

📖 Release Notes

Setup

  1. Add the api-mapper-nuxt-module dependency with yarn or npm to your project
  2. Add api-mapper-nuxt-module to the modules section of nuxt.config.js
  3. Configure it:
{
  modules: [
    // Simple usage
    'api-mapper-nuxt-module',

    // With options
    ['api-mapper-nuxt-module', { /* module options */ }]
  ]
}

Development

  1. Clone this repository
  2. Install dependencies using yarn install or npm install
  3. Start development server using npm run dev

License

MIT License

Copyright (c) Ryosuke Miyamoto yahsan2@gmail.com