How to build weex based on electron

the company project intends to use electron to develop desktop applications, but the previous code was written in the environment of weex, and the supervisor asked to reuse the previous code into this electron development. However, electron does not synthesize weex. You need to build weex manually. Do you have any good ideas?

Mar.21,2021

1. First of all, you don't understand the first few concepts. Electron is for desktop applications, and weex is for mobile applications. The two cannot be combined.
the ui layer of 2.weex is written in vue, so you can combine electron and electron, so you can move the ui layer in weex to electron


.

if I remember correctly, weex's goal is to package web applications developed by vue into native applications, which is a translation solution, so it doesn't seem to be a suitable Hybrid solution like Electron.

the simplest solution should be to put the web application output from weex directly into electron,electron 's actual integrated browser environment, so this should be inexpensive. The only possible problem is whether weex will limit the experience and functionality of the application.

Menu