Skip to content

Latest commit

 

History

History
33 lines (28 loc) · 637 Bytes

README.md

File metadata and controls

33 lines (28 loc) · 637 Bytes

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>