Skip to content

Instantly share code, notes, and snippets.

@tomasen
Created May 17, 2018 08:22
Show Gist options
  • Save tomasen/c6d2715e7a468d1c985ad1b51648b2d2 to your computer and use it in GitHub Desktop.
Save tomasen/c6d2715e7a468d1c985ad1b51648b2d2 to your computer and use it in GitHub Desktop.
SPlayer@2018 LandingView Code Snippets
<template>
<div id="wrapper">
<main>
<div>
<img id="logo" src="~@/assets/logo.png" alt="electron-vue">
</div>
<div class="welcome">
<div class="title">SPlayerX</div>
<p> {{ version }} </p>
</div>
<div class="controller">
<div class="playlist">
<a class="item" v-if="hasRecentPlaylist" href="#" @click="openFile(lastPlayedFile)">
</a>
</div>
<button @click="open('./')">
<img src="~@/assets/icon-open.svg" type="image/svg+xml">
</button>
</div>
</main>
</div>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment