You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey all!
I have a question I'm hoping to get an answer to.
When wails builds the frontend app, say in react, and now creates an .exe file, I'm assuming it somehow binds the finished resources onto the window. I'm using some other library that uses the tiny-webview lib, but in Java. I was wondering if there is a way for me to replicate or at least get some inspiration on how to embed frontend build resources in the window. So far the only options for me were either load a url of some web server that serves those files, which works but is somewhat of a pain and not really elegant IMO. the other solution was to encode the raw html into the window, which I need to also do with the JS and CSS scripts, because otherwise it doesnt know the link them using <script> or tags.
would love to get more info or tips on how to approach this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey all!
I have a question I'm hoping to get an answer to.
When wails builds the frontend app, say in react, and now creates an
.exe
file, I'm assuming it somehow binds the finished resources onto the window. I'm using some other library that uses the tiny-webview lib, but in Java. I was wondering if there is a way for me to replicate or at least get some inspiration on how to embed frontend build resources in the window. So far the only options for me were either load a url of some web server that serves those files, which works but is somewhat of a pain and not really elegant IMO. the other solution was to encode the raw html into the window, which I need to also do with the JS and CSS scripts, because otherwise it doesnt know the link them using <script> or tags.would love to get more info or tips on how to approach this.
Beta Was this translation helpful? Give feedback.
All reactions