Console window after built #960
Replies: 7 comments
-
|
Any update here? |
Beta Was this translation helpful? Give feedback.
-
|
You can run the program in a terminal (linux / mac) or powershell (windows) |
Beta Was this translation helpful? Give feedback.
-
|
I would like to implement a button that shows/hide the console as it will contains important output. Any way of doing this? |
Beta Was this translation helpful? Give feedback.
-
|
I made a solution for you. Here's a module you can just add to your project as ConsoleWindow.js in your src folder. To use it, simply make a function that replaces all your console.log. Here's an example: |
Beta Was this translation helpful? Give feedback.
-
|
Thank you @nurdyAuv! I will give it a try and let you know. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
The only other way I can think of, is you wrap your whole program in another program so you can read the child process's stdout. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to have a console window open in the app after it is built, like when u run it with
npm start?Beta Was this translation helpful? Give feedback.
All reactions