Giter Club home page Giter Club logo

electronvitecurrent's Introduction

electron-vite-vue

🥳 Really simple Electron + Vue + Vite boilerplate.

This desktop is designed in electron structure. The main display and process logic is based on Vite. The function of this desktop software is to show the current and temprature of the controller boards. In order to communicate with the micro controller unit, use Python based websocket and pyserial to achieve data transfer and processing.

软件设计的设计基本结构

Result

软件的主页面的显示展示 显示部分的区域分块为如下框图所示: 软件显示区域分布

🖥 TitleBar: 显示菜单栏,同时显示软件的LOGO和名称
🖥 Header: 显示标题栏,现在瞎显示的,后面根据需要修改
🖥 Sider: 边栏,现在也没用,可以用于切换不同的页面,利用SVG图标来实现跳转
🖥 Left: Just for fun
🖥 Right: 这部分为显示的核心,用于显示温度和电流的实时数值,同时提供控制输出框这部分也可以用于检测温度和电流的长期变化,方便检验长期波动

Show

Feature

📦 Out of the box
🎯 Based on the official template-vue-ts, less invasive
🌱 Extensible, really simple directory structure
💪 Support using Node.js API in Electron-Renderer
🔩 Support C/C++ native addons
🖥 It's easy to implement multiple windows

Quick Start

npm install
npm run dev

Directory

  ├─┬ python         Python后台,这里不提供,但是public有Python的exe执行文件
+ ├─┬ electron
+ │ ├─┬ main
+ │ │ └── index.ts    entry of Electron-Main
+ │ └─┬ preload
+ │   └── index.ts    entry of Preload-Scripts
  ├─┬ src
  │ ├── main.ts       entry of Electron-Renderer
  │ ├── assets        source file
  │ ├── components    components
  │ └── section       section part 
  ├── index.html
  ├── package.json
  └── vite.configManager.ts

FAQ

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.