Skip to content

emilianoamorim/vue2-network-status

Repository files navigation

Vue2NetworkStatus

A simple component that analyze network status powered by Vue2

Installation

npm i vue2-network-status --save

or CDN by Unpkg

<script src="https://unpkg.com/vue2-network-status@1.0.1/dist/vue2-network-status.min.js"></script>

View a Demo

Or

import Vue2NetworkStatus from 'vue2-network-status';

Register component

export default {
  name: 'MyApp',
  components: {
    Vue2NetworkStatus
  },
};

Add component on html

<Vue2NetworkStatus>You Are Offline!</Vue2NetworkStatus>

Releases

No releases published

Packages

No packages published