Last active
August 31, 2019 03:52
-
-
Save jsdecena/f8e2f6cb74004c3bc85b4905d8f7fd6d to your computer and use it in GitHub Desktop.
Method block
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| methods: { | |
| open (link) { | |
| this.$electron.shell.openExternal(link) | |
| }, | |
| getPosts () { | |
| const posts = JSON.parse(localStorage.getItem('posts')) | |
| this.posts = posts | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment