Comments (6)
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?
from lorca.
Hey @BlackConure can you upload it somewhere ? Even if its not working.
Would like to see how well it works.
from lorca.
@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 😭
from lorca.
Well maybe ASCI electron is a decent alternative for you.
Will have a looks at your code
from lorca.
ASCI electron??
from lorca.
I think he meant https://github.com/asticode/go-astilectron
from lorca.
Related Issues (20)
- Hide Lorca's Windows command prompt HOT 1
- Lorca creates temp folders on everey run
- icon
- Can I check lorca window is open? HOT 1
- Golang part stops responding to javascript after some (variable) amount of time HOT 1
- Running with latest Chrome version HOT 22
- You should use the devtools protocol and not websockets
- Frameless window (hide default native frame)
- window.showOpenFilePicker is not a function HOT 1
- how to load remote url as gui like http://127.0.0.1:22
- possible to support win xp,windows 7, windows server 2002 and windows 11
- how to add go rod into lorca to automatically downlaod chromium and load url on chromium HOT 3
- make html form data trigger another function
- websocketDebugUrl can not connected HOT 6
- Updated chrome - now ui.New fails to start HOT 4
- How do I show all tabs in one windows?
- how to Calling the Vue function?
- Anyone maintaining this project? HOT 1
- Error running example/counter HOT 2
- Dead project HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lorca.