Code Monkey home page Code Monkey logo

Comments (4)

SimulatedGREG avatar SimulatedGREG commented on May 9, 2024 1

@zxc23

You bring a very valid point here. There are plans to bring support for main process bundling, but they are taking a more time than expected as I'm waiting for webpack 2 to be come of beta. For now, you could look into window.js from electron-boilerplate and copy this script over manually. It does require fs-jetpack but should not be too difficult to migrate to just using standard fs.

Also, I'm not sure the title of this issue makes too much sense. These window state packages don't rely on localStorage.

from electron-vue.

SimulatedGREG avatar SimulatedGREG commented on May 9, 2024 1

Gotcha. Sorry for the inconvenience. I tried supporting this awhile back, but webpack was pretty finicky, so hoping for better results this time around.

from electron-vue.

zxc23 avatar zxc23 commented on May 9, 2024

Thanks for the response. I didn't mean 'LocalStorage' specifically, but I can see how it might come across that way. I'll edit it to whatever is more suitable, but I don't know how to phrase it better. :)

I'll give that script a go, and if it doesn't work out, I'll sit tight and hope for the best in the future. Today I started using vuex-persistedstate, which is working out nicely for persisting some settings across sessions, but of course it's limited to the Vue side of the app. You may hear more from me in the future, as I appreciate the responses you give to my queries.

from electron-vue.

SimulatedGREG avatar SimulatedGREG commented on May 9, 2024

Webpack 2 has finally been released and the structure has changed a little. All dependencies will now be treated as externals and node_modules will no longer be ignored. This will enable the use of external node modules within both the renderer and main processes. You can take a look now in the dev branch. Expect an update to master soon.

from electron-vue.

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.