Open URL with system default browser #13512
-
|
Hi, I'm making an electron desktop app with Quasar framework. I need to open an URL with user's system default browser (e.g. Chrome, Firefox, etc.) I tried this I also tried this in electron way, import { shell } from "electron";
shell.openExternal("http://www.google.com")but I get these errors Could you give me advice for this please?🧐 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
1: in electron-main.js 2: then use target="_blank" |
Beta Was this translation helpful? Give feedback.
1: in electron-main.js
2: then use target="_blank"
<a href="https://quasar.dev" target="_blank">Quasar</a>