The Wayback Machine - https://web.archive.org/web/20200904181040/https://github.com/jaredreich/vue-notie/
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Jul 5, 2016
Jul 5, 2016
Jul 5, 2016

README.md

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.

You can’t perform that action at this time.