mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2025-07-06 08:43:12 +00:00
12 lines
175 B
JavaScript
12 lines
175 B
JavaScript
import Vue from 'vue'
|
|
const isCidr = require('is-cidr');
|
|
|
|
const plugin = {
|
|
install () {
|
|
Vue.isCidr = isCidr;
|
|
Vue.prototype.$isCidr = isCidr
|
|
}
|
|
};
|
|
|
|
Vue.use(plugin);
|