@alexfun45/ipinput
v1.0.1
Published
An ip input component
Downloads
5
Readme
test
A Vue.js project
Build Setup
# install
npm i @alexfun45/ipinput
# usage
<template>
<div id="app">
Hello world!
<label>IPv4 address:</label><Ipinput active="true" :value="ip" :segments=4 :segmentMaxSize=3></Ipinput>
</div>
</template>
<script>
import Vue from 'vue'
import ipInput from '@alexfun45/ipinput'
Vue.component('Ipinput', ipInput);
export default {
name: 'app',
data () {
return {
ip: '10.0.0.1'
}
}
}
</script>
For detailed explanation on how things work, consult the [docs for vue-loader](http://vuejs.github.io/vue-loader).