1

Is it possible to use Vue.js and express JS simultaneously in an project having electron JS? How is that possible? I have a project which is already running in Vue.js and electron JS but how do I implement express JS in current project?

1
  • it does not make much sense to implement express with electron. renderer and main process should communicate using ipcMain and ipcRenderer Commented Mar 4, 2020 at 9:43

1 Answer 1

2

You can use

let express = require('./express') // Your express app 

https://gist.github.com/maximilian-lindsey/a446a7ee87838a62099d

To add express in your project and you can use electron-vue.

Boilerplate to add vue to you project: https://github.com/SimulatedGREG/electron-vue

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.