Coder Social home page Coder Social logo

gooooooooooooogle / dlt645-2007-tool Goto Github PK

View Code? Open in Web Editor NEW
14.0 1.0 4.0 1.05 MB

一个简易的DLT645-2007协议通讯工具

Home Page: https://github.com/gooooooooooooogle/DLT645-2007-tool

License: Apache License 2.0

JavaScript 62.41% EJS 1.55% Vue 36.04%
electron-vue vuejs2 serialport electron

dlt645-2007-tool's Introduction

dlt645-2007-tool

一个简易的DLT645-2007协议通讯工具

说明

基于 Electron + Vue(electron-vue) + element-ui + serialport 在Windows平台开发的DLT645-2007协议通讯工具

所用技术栈:

Windows10下环境搭建

  • node: 14.17.5

  • npm: 6.14.14

  • npm config set registry https://registry.npm.taobao.org/

  • npm config set ELECTRON_MIRROR http://npm.taobao.org/mirrors/electron/

  • Python: 3.x

  • 安装Visual Studio 2017 15.7.2 或更高版本 或安装 Visual Studio Build Tools

    并执行 npm config set msvs_version 2017

  • 为 Electron 安装并重新编译Node原生模块: npm install --save-dev electron-rebuild

  • npm install -g node-gyp

  • 若执行npm install后, node-gyp报错, 提示 "Visual Studio C++ core features" missing

    则安装 build工具:执行 npm i -g windows-build-tools

    此过程若卡在"Still waiting for installer log file...",则去下载目录C:\Users\Administrator.windows-build-tools,

    手动运行vs_BuildTools.exe,单个组件->勾选Node.js MSBuild支持,下载安装

    界面截图

    界面截图

    界面截图

    若仍然报错,则再手动打开vs_BuildTools.exe,安装入下图所示的两个。应该就可以了。

    界面截图

  • npm install安装成功后,若windows下构建时提示失败,可尝试执行 .\node_modules\.bin\electron-rebuild.cmd

构建


# 安装依赖
npm install

# 开发环境
npm run dev

# 生产环境
npm run build

界面

界面一

界面一

界面二

界面二

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.