https://github.com/ofcold/switch-vue
An on/off switch component for Vue.js with theme support.
https://github.com/ofcold/switch-vue
Last synced: 23 days ago
JSON representation
An on/off switch component for Vue.js with theme support.
- Host: GitHub
- URL: https://github.com/ofcold/switch-vue
- Owner: ofcold
- License: bsd-3-clause
- Created: 2018-06-17T03:05:27.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-13T15:56:29.000Z (about 7 years ago)
- Last Synced: 2025-11-13T17:30:05.987Z (4 months ago)
- Language: Vue
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# switch vue
An on/off switch component for Vue.js with theme support.
## Installation
```bash
npm install --save ofcold-switch
```
## Usage
```html
```
```javascript
// Javascript
import OfcoldSwitch from 'ofcold-switch';
export default {
data:() => ({
on_ready: false
}),
components: {
OfcoldSwitch
}
}
```