0.1.2 • Published 5 years ago

vue-poke-sprites v0.1.2

Weekly downloads
13
License
-
Repository
-
Last release
5 years ago

Demo

Visit - Link

Usage

  1. Install the package
$ yarn add --save vue-poke-sprites
  1. Import the component
import PokeSprite from "./components/PokeSprite.vue";
.
.
export default {
  .
  .
  components: {
    PokeSprite
  }
  .
  .
}
  1. Use it
  <PokeSprite pokemon="lugia" spriteClass="pokemon-lugia"></PokeSprite>

Props

  • pokemon - Pass the name or the ID of the pokemon.

  • spriteClass - Pass in a class name to modify as you see fit.

Related

  • A corresponding React component is here

Author

Anshuman Verma

Contribute

Found a bug? please create an issue

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago