chore: update branch references
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
v-model="currentBranch">
|
||||
<label :for="branch">{{ branch }}</label>
|
||||
</template>
|
||||
<p>vuejs/vue@{{ currentBranch }}</p>
|
||||
<p>vuejs/core@{{ currentBranch }}</p>
|
||||
<ul>
|
||||
<li v-for="{ html_url, sha, author, commit } in commits">
|
||||
<a :href="html_url" target="_blank" class="commit">{{ sha.slice(0, 7) }}</a>
|
||||
@@ -34,7 +34,7 @@ const formatDate = v => v.replace(/T|Z/g, ' ')
|
||||
|
||||
createApp({
|
||||
setup() {
|
||||
const currentBranch = ref('master')
|
||||
const currentBranch = ref('main')
|
||||
const commits = ref(null)
|
||||
|
||||
watchEffect(() => {
|
||||
@@ -47,7 +47,7 @@ createApp({
|
||||
})
|
||||
|
||||
return {
|
||||
branches: ['master', 'sync'],
|
||||
branches: ['main', 'v2-compat'],
|
||||
currentBranch,
|
||||
commits,
|
||||
truncate,
|
||||
|
||||
Reference in New Issue
Block a user