lorca
lorca copied to clipboard
Lorca + Nuxt?
I have been working with your webview version and dabbling with react and vuejs. I really like the idea of lorca, as it even further simplifies the moving parts (no cgo). Do you know if there are any show stoppers in getting Lorca and Nuxt to play well?
If you think it is doable, do you have (or could you knock out) a "Hello World" showing how they would interact?
Update: By Nuxt, I am specifically using VueJS + Vuetify. Not that it would matter perhaps, but just in case...
I had some time to play with this a bit and I do have it now working. Because of the file references in Nuxt output from webpack, the only way to do it cleanly, was to use an http handler function and an embedded server. I was hoping to use the go-bindata assets directly, but it turned out to be going down a rat hole making that work properly.
I still struggle with the whole Lorca vs WebView, however. I prefer WebView in that it packages the browser so I don't have to tell users "must install chrome". But webview being being MSHTML for windows means I can't leverage Vue/Vuetify. They require ES6
Any chance of getting a webview version to work with Chromium instead?
Hey @BlackConure can you upload it somewhere ? Even if its not working. Would like to see how well it works.
@gedw99, I have uploaded just the output assets and my sample go code to https://github.com/BlackConure/webview-nuxt. If you need to generate the assets manually, the readme has the outline.
The same output from nuxt works in lorca, but does not in webview. I have commented out the lorca code, but you can just uncomment it and re-compile.
Let me know if you find something....I would REALLY like to use webview (or something similar)! Right now I am stuck with using Electron 😭
Well maybe ASCI electron is a decent alternative for you.
Will have a looks at your code
ASCI electron??
I think he meant https://github.com/asticode/go-astilectron