nuxt-community / electron-template

Electron starter with nuxt.js
MIT License
251 stars 31 forks source link

I cant use remote #23

Closed FerVillanuevas closed 6 years ago

FerVillanuevas commented 6 years ago

i'm noob, just wanna close the app without frame

this is my code

<script> const remote = require('electron').remote export default { methods: { close () { remote.getCurrentWindow().close() } } } </script>

need some help please

This question is available on Nuxt community (#c20)
ghost commented 6 years ago

This issue as been imported as question since it does not respect electron-template issue template. Only bug reports and feature requests stays open to reduce maintainers workload. If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically. Your question is available at https://cmty.app/nuxt/electron-template/issues/c20.