vue-offline
Advanced tools
Comparing version 1.0.201 to 1.0.202
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6364