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

npm version

Minesweeper for Web Components

MineSweeper

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

https://github.com/kurehajime/minesweeper/commits/main

Credits

@kurehajime

License

MIT

Related Packages

@ldesign/site-component

LDesign 文档公共组件,基于hybrids的webcomponent组件,可用于vue,react等前端框架!

1,705
@loolzaaa/vue-gaming-room

A basic platform for creating web-based games with a room concept based on Vue

903 0
wc-context

Context for HTML custom elements / web components

85,761 48

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