vue-poke-sprites
v0.1.2
Published
<p align="center"> <img src="http://www.pokestadium.com/sprites/xy/charizard.gif" align="center" width="150"> </p>
Downloads
2
Readme
Demo
Visit - Link
Usage
- Install the package
$ yarn add --save vue-poke-sprites
- Import the component
import PokeSprite from "./components/PokeSprite.vue";
.
.
export default {
.
.
components: {
PokeSprite
}
.
.
}
- 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
Contribute
Found a bug? please create an issue