Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jaredreich/vue-notie
- Owner: jaredreich
- License: mit
- Created: 2016-07-05T17:03:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-09T14:32:14.000Z (over 8 years ago)
- Last Synced: 2024-10-01T17:04:37.821Z (about 2 months ago)
- Topics: alert, confirm, message, notie, notification, prompt, toast, vue
- Language: JavaScript
- Homepage: https://github.com/jaredreich/notie
- Size: 3.91 KB
- Stars: 19
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.