A Vue.js plugin for notie.
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>
notie is now available through this.$notie
this.$notie.alert(1, 'It worked!', 3);
Thanks to alfhen for originally creating this plugin.