vue-whoislookup-becloud v0.5.4
vue-whoislookup-becloud
WhoisLookupBecloud is a component that is used to show information about .by and .бел domain statuses. This component gets domain statuses from beCloud Whois server. (A Whois server is set-up by an accredited registrar to acquire up-to-date information about domains that are registered within it.)
Installation
Package can be used only in Vue.js projects (you need VueJS v2.5.9+ to run). Also project uses Axios v0.24.0.
Install via NPM
npm install --save vue-whoislookup-becloud
Once you have installed the package, in your entry file of the repository (main.js) if you are using it in a Vue CLI project. Write the import command:
import WhoisLookupBecloud from 'vue-whoislookup-becloud';
Vue.use(WhoisLookupBecloud)
To install locally:
<template>
<div id="theComponent">
<WhoisLookupBecloud />
</div>
</template>
<script>
import WhoisLookupBecloud from 'vue-whoislookup-becloud';
export default {
name: 'TheComponent',
components: {
WhoisLookupBecloud
}
}
</script>
Props
Props | Description | Required | Type | Default |
---|---|---|---|---|
url-string | Whois server URL address | false | String | beCloud Whois server URL address |
You can set the url-string
prop to change the address of the Whois server that is being used by this component.
url-string
accept String
values.
beCloud server address is set by default.
The URL address must be entered without a slash at the end (for example: http://127.0.0.1
).
<WhoisLookupBecloud /> <!-- using default beCloud Whois server -->
<WhoisLookupBecloud url-string="https://127.0.0.1:3000" /> <!-- changing the address of the Whois server -->