mine-sweeper-tag
Minesweeper for Web Components
17,928
1
| Install | |
|---|---|
npm install mine-sweeper-tag |
|
| Latest Version: | 1.0.6 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Jan 15, 2023 |
| Links: | GitHub · npm |
Maintainer: kurehajime
MineSweeper Tag
Minesweeper for Web Components
Demo
https://kurehajime.github.io/minesweeper_tag/
Installation
npm install mine-sweeper-tag
Usage
npm
Define custom element.
import { mine_sweeper } from 'mine-sweeper-tag'
customElements.define('mine-sweeper', mine_sweeper)
Insert tag.
<mine-sweeper cols="10" bomb="10" beep />
CDN
insert your HTML.
<script type="module">
import { mine_sweeper } from 'https://unpkg.com/mine-sweeper-tag@latest/dist/mine-sweeper.es.js';
customElements.define('mine-sweeper', mine_sweeper)
</script>
<mine-sweeper cols="10" bomb="10" beep />
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
History
https://github.com/kurehajime/minesweeper/commits/main
Credits
@kurehajime
License
MIT
Related Packages
@loolzaaa/vue-gaming-room
A basic platform for creating web-based games with a room concept based on Vue
903
0
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.6 | ^3.2.45 | MIT | |
| 1.0.5 | ^3.2.45 | MIT | |
| 1.0.4 | ^3.2.45 | MIT | |
| 1.0.3 | ^3.2.45 | MIT | |
| 1.0.2 | ^3.2.45 | MIT | |
| 1.0.1 | ^3.2.45 | MIT | |
| 1.0.0 | ^3.2.45 | MIT |
