mirror of https://github.com/sotrh/learn-wgpu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
395 B
Vue
17 lines
395 B
Vue
5 years ago
|
<template>
|
||
|
<div class="auto-github-link">
|
||
|
<a :href="link" target="_blank" rel="noopener noreferrer">Check out the code!</a>
|
||
|
<OutboundLink/>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
const GITHUB_REPO = "https://github.com/sotrh/learn-wgpu/tree/master/code"
|
||
|
export default {
|
||
|
computed: {
|
||
|
link() {
|
||
|
return GITHUB_REPO + this.$page.path;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|