workflow: include commit link in template explorer

This commit is contained in:
Evan You
2019-10-04 22:40:54 -04:00
parent ea4a352ee6
commit a0f442f1d4
6 changed files with 38 additions and 7 deletions

View File

@@ -11,6 +11,14 @@ const App = {
setup() {
return () => [
h('h1', `Vue 3 Template Explorer`),
h(
'a',
{
href: `https://github.com/vuejs/vue-next/tree/${__COMMIT__}`,
target: `_blank`
},
`@${__COMMIT__}`
),
h('div', { id: 'options' }, [
// mode selection
h('span', { class: 'options-group' }, [