vue-notie
v1.0.0
Published
A Vue.js plugin for notie
Downloads
8
Readme
vue-notie
A Vue.js plugin for notie.
Installation
npm:
npm install --save vue-notie
Vue:
var Vue = require('vue')
var VueNotie = require('vue-notie')
Vue.use(VueNotie)
SASS:
@import 'path/to/notie.scss'
HTML (Browserify):
<head>
...
<link rel="stylesheet" href="/node_modules/notie/dist/notie.css">
</head>
<body>
...
<!-- Bottom of body -->
<script src="/path/to/vue.js"</script>
<script src="/node_modules/vue-notie/src/vue-notie.js'"></script>
</body>
Usage
notie is now available through this.$notie
this.$notie.alert(1, 'It worked!', 3);
Credit
Thanks to alfhen for originally creating this plugin.