An open API service indexing awesome lists of open source software.

https://github.com/mbj36/vue-status

Vue component for detecting the network status - online or offline
https://github.com/mbj36/vue-status

network-connection vue-components vue-offline vuejs

Last synced: 2 months ago
JSON representation

Vue component for detecting the network status - online or offline

Awesome Lists containing this project

README

        

# vue-status

Vue component for detecting the network status - online or offline

## Requirements

* Vue.js 2.x

## Installation

`yarn add vue-status`

or

`npm install vue-status`

## Demo

[![Edit Vue Template](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/lllnp9m84l)

## Usage

To use it locally in your component

`import VueStatus from 'vue-status'`

```javascript
export default {
components: {
VueStatus
}
};
```

```html

You are online (Any online content can be put here)


You are offline (Any Offline content can be put here)



```