If you are not using a module bundler like Webpack then simply import all the html, cs and js files that your app is dependent on into this index.html file. We need a top level file which will load in our express application. Packaging an Express Application in Electronįirstly install electron in your app npm install -save electronĬreate an index.html file which contains your express application # Clone the Quick Start repositoryĪnd now I am stuck at the part where i need to configure the electron main.js file or/and the render index.html file to link to the express app and have that run instead of the index.html Hence, a liscene like MIT might do, but not sure about GNU.Īnyhow, I have been trying to follow his procedure: I am trying to create a commercial app that will monetize. However, I was advised not to do so due to the GNU GENERAL PUBLIC LICENSE that they impose. I have been able to successfully run express within the electron app via repositories such as
0 Comments
Leave a Reply. |