Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jaredreich/vue-notie

a vue.js plugin for notie
https://github.com/jaredreich/vue-notie

alert confirm message notie notification prompt toast vue

Last synced: about 1 month ago
JSON representation

a vue.js plugin for notie

Awesome Lists containing this project

README

        

# vue-notie

A Vue.js plugin for [notie](https://github.com/jaredreich/notie).

## Installation

npm:
``` bash
npm install --save vue-notie
```

Vue:
```javascript
var Vue = require('vue')
var VueNotie = require('vue-notie')
Vue.use(VueNotie)
```

SASS:
```scss
@import 'path/to/notie.scss'
```

HTML (Browserify):
```html

...

...


<script src="/node_modules/vue-notie/src/vue-notie.js'">

```

## Usage
notie is now available through ```this.$notie```

```javascript
this.$notie.alert(1, 'It worked!', 3);
```

## Credit
Thanks to [alfhen](https://github.com/alfhen) for originally creating this plugin.