Code Monkey home page Code Monkey logo

ip-utools-plugin's Introduction

ip-utools-plugin

Get the utools plug-in of Intranet IP and public IP

Steps

  1. pnpm install

  2. pnpm build

  3. 使用utools开发者工具 并将 plugin.json相关信息进行替换即可

Demo

https://raw.githubusercontent.com/hb0730/ip-utools-plugin/main/docs/uTools_1650782429263.png

https://raw.githubusercontent.com/hb0730/ip-utools-plugin/main/docs/uTools_1650782479900.png

关于preload.js

项目采用vite-plugin-utools可以自动生成preload.js,并填充相关plugin.json,与普通的vite vue3 ts没有什么不同,要使用utools API可以直接使用

utools.copyText(data.address);
utools.showNotification("复制成功");

要是用preload.js函数

 window.preload.networkInterfaces();

preload可替换成挂载到Window的前缀

   preload: {
      path: './src/preload.ts',
      watch: true,
      name: 'window.preload',
    },

ip-utools-plugin's People

Contributors

hb0730 avatar

Watchers

 avatar

Forkers

lgf-136

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.