vue-probenet
v1.2.6
Published
probe network methods
Downloads
359
Readme
vue-probe
probe network methods
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.
# 内网探测:调用myMethod(url)方法,返回值是1表示是内网,返回值是2表示是外网
# import { myMethod } from 'vue-probenet'
# console.log(myMethod("XXX"));