@averagemarcus/pokemon-tile

1.0.0 • Public • Published

pokemon-tile

Web Component to display a tile showing a specific Pokémon. Make use of the PokéApi

Live Demo | NPM

Usage

  1. Include a script reference to the module:
<script type="module" src="https://unpkg.com/@averagemarcus/pokemon-tile?module"></script>
  1. Add a <pokemon-tile> element to your page
<pokemon-tile pokedex-id="25"></pokemon-tile>
<pokemon-tile pokemon-name="ditto"></pokemon-tile>
<pokemon-tile pokedex-id="6" shiny></pokemon-tile>

Contributions

Contributions welcome!

Found a bug? File an issue

Running locally

Once checked out:

  1. npm install
  2. npm run build
  3. npm run serve

Credits

Huge thanks to the PokéApi for the data and images, and Nintendo, Game Freak and The Pokémon Company for an awesome series.

Readme

Keywords

none

Package Sidebar

Install

npm i @averagemarcus/pokemon-tile

Weekly Downloads

2

Version

1.0.0

License

ISC

Unpacked Size

1.2 MB

Total Files

7

Last publish

Collaborators

  • averagemarcus