I have a problem. I want to set up the minimize, maximize and close buttons on a frameless window but I can't due to this problem importing the electron remote. Thanks.
import { remote } from "electron";
methods...
closeWindow() {
var window = remote.getCurrentWindow();
window.close();
}