Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/disjfa/vue-minesweeper

Add a minesweeper game to your website, just for kicks!
https://github.com/disjfa/vue-minesweeper

game minesweeper vuejs vuejs-components vuejs-plugin

Last synced: about 1 month ago
JSON representation

Add a minesweeper game to your website, just for kicks!

Awesome Lists containing this project

README

        

# Vue minesweeper

[![version][version-badge]][package]
[![MIT License][license-badge]][LICENSE]
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#contributors)

[![Watch on GitHub][github-watch-badge]][github-watch]
[![Star on GitHub][github-star-badge]][github-star]
[![Tweet][twitter-badge]][twitter]

> Add a minesweeper game to your website, just for kicks!

## Examples

[codepen.io](https://codepen.io/disjfa/pen/axdmob)

## Instalation

```
npm install vue-minesweeper
```

## Getting started

```javascript
import Vue from 'vue'; // Load vue
import App from './App'; // Load your app
import VueMinesweeper from 'vue-minesweeper';

Vue.use(VueMinesweeper); // Add the game

new Vue({
render: h => h(App),
}).$mount('#app');
```

## Usage

Basic setup

```html

```

Setup your own grid and bomb.

```html

```

## Usage with the vue cdn

Copy paste this and you can get started.

```html




Vue minesweeper







var app = new Vue();
app.$mount("#app");

```

## Contributors

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

disjfa
disjfa

💬 📝 💻 📖 💡

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

[package]: https://www.npmjs.com/package/vue-minesweeper
[version-badge]: https://img.shields.io/npm/v/vue-minesweeper.svg?style=flat-square
[license]: https://github.com/disjfa/vue-minesweeper/blob/master/LICENSE
[license-badge]: https://img.shields.io/npm/l/vue-minesweeper.svg?style=flat-square
[github-watch-badge]: https://img.shields.io/github/watchers/disjfa/vue-minesweeper.svg?style=social
[github-watch]: https://github.com/disjfa/vue-minesweeper/watchers
[github-star-badge]: https://img.shields.io/github/stars/disjfa/vue-minesweeper.svg?style=social
[github-star]: https://github.com/disjfa/vue-minesweeper/stargazers
[twitter]: https://twitter.com/intent/tweet?text=Check%20out%20vue-minesweeper!%20-%20Cool%minesweeper!%20Thanks%20@disjfa%20https://github.com/disjfa/vue-minesweeper%20%F0%9F%A4%97
[twitter-badge]: https://img.shields.io/twitter/url/https/github.com/disjfa/vue-minesweeper.svg?style=social