Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-awesome-notifications

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-awesome-notifications

Vue.js version of Awesome Notifications JavaScript library

  • 2.2.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
343
decreased by-29.13%
Maintainers
1
Weekly downloads
 
Created
Source

npm npm npm

Vue Awesome Notifications

It's a Vue.js version of Awesome Notifications library. Awesome Notifications is a lightweight JavaScript library for notifications.

5KB gzipped sizeno dependenciesadvanced async supportfully customizable>95% test coverage

Demo: https://f3oall.github.io/awesome-notifications/

Changelog: changelog.md

Demo GIF

Install

Attention! This library uses FontAwesome 4 icons, so you either need to make sure that FontAwesome is connected to your project, either disable icons, passing the icons: {enabled: false} property to options. Also you can preserve icons, setting up a custom template for them via editing options.icons.prefix and options.icons.suffix

Via NPM

npm install --save vue-awesome-notifications

Via Yarn

yarn add vue-awesome-notifications

In main.js

import Vue from "vue"
import VueAWN from "vue-awesome-notifications"

Vue.use(VueAWN, options)

In any of your files:

this.$awn.success("Your custom message")

Usage of default styles

For easier customization, SCSS version is preffered.

With SCSS - In your App.vue

<style lang="scss">
@import '~vue-awesome-notifications/dist/styles/style.scss';
</style>

With CSS - In your App.vue

<style lang="css">
@import 'vue-awesome-notifications/dist/styles/style.css';
</style>

Or in main.js

require("vue-awesome-notifications/dist/styles/style.css")

Customization

You can pass options object to initialization function to override defaults. List of available options can be found in Awesome Notifications README.md.

Styles

If you use SCSS, you can configure styles by redefining variables. List of available variables can be found in Awesome Notifications repo

Otherwise, if you use style.css, you can only override it.

Browser support

Last 2 versions.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Keywords

FAQs

Package last updated on 03 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc