Giter VIP home page Giter VIP logo

Comments (6)

SGarno avatar SGarno commented on July 23, 2024

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.

 avatar commented on July 23, 2024

Hey @BlackConure can you upload it somewhere ? Even if its not working.
Would like to see how well it works.

from lorca.

SGarno avatar SGarno commented on July 23, 2024

@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.

 avatar commented on July 23, 2024

Well maybe ASCI electron is a decent alternative for you.

Will have a looks at your code

from lorca.

SGarno avatar SGarno commented on July 23, 2024

ASCI electron??

from lorca.

SebastianKristof avatar SebastianKristof commented on July 23, 2024

I think he meant https://github.com/asticode/go-astilectron

from lorca.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.