Coder Social home page Coder Social logo

e-api-electron's Introduction

E-API(客户端)

E-API官网

1、安装

npm i # 必须npm 安装,不可以使用cnpm
# 如果启动不了,安装一下插件
yarn add vue-cli-plugin-electron-builder -D --tilde

一、启动项目:

1、启动网页版

npm run serve

2、启动客户端版

npm run electron:serve

二、启动和私有化部署说明:

1、环境变量(启动和打包参数配置)

VUE_APP_publicPath='http://127.0.0.1:7001' // 部署API地址
VUE_APP_Electron=1  // 1是客户端  0 是插件

2、插件

将打包好的文件放在一下目录中

根目录\e-api\e-api

启动白屏?请仔细按照第一、二步骤操作

三、配合的前端代码:

https://github.com/cgq001/e-api-egg

e-api-electron's People

Contributors

cgq6688 avatar cgq001 avatar

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.