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

vue-offline

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-offline - npm Package Compare versions

Comparing version 1.0.201 to 1.0.202

2

package.json
{
"name": "vue-offline",
"version": "1.0.201",
"version": "1.0.202",
"description": "Online/Offline events and directives for vue application",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -9,4 +9,2 @@ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

There are two ways to install this plugin:
<b>Global</b> - if you register the plugin globally all features will be immediately avvailable in all of your components
````

@@ -16,2 +14,6 @@ npm install vue-offline --save

There are two ways to use this plugin:
<b>Global</b> - if you register the plugin globally all features will be immediately avvailable in all of your components
````js

@@ -24,5 +26,3 @@ import Vue from 'vue'

<b>Local for specific components </b>- if you need online/offline features only in specific components you can inject them as a mixins. This approach could save a little bit of performance.
````
npm install vue-offline --save
````
And inside components that you want to have features listed below:

@@ -29,0 +29,0 @@ ````js

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