Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions examples/commits.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<script type="module">
import { createApp, reactive } from '../src'
import { createApp } from '../src'

const API_URL = `https://api.github.com/repos/vuejs/vue-next/commits?per_page=3&sha=`
const API_URL = `https://api.github.com/repos/vuejs/core/commits?per_page=3&sha=`

createApp({
branches: ['master', 'v2-compat'],
currentBranch: 'master',
branches: ['main', 'v2-compat'],
currentBranch: 'main',
commits: null,

truncate(v) {
Expand Down Expand Up @@ -39,7 +39,7 @@ <h1>Latest Vue.js Commits</h1>
/>
<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"
Expand Down
2 changes: 1 addition & 1 deletion examples/todomvc.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
}).mount('#app')
</script>

<div id="app" @mounted="setupRouting" v-effect="save()" v-cloak>
<div id="app" @vue:mounted="setupRouting" v-effect="save()" v-cloak>
<section class="todoapp">
<header class="header">
<h1>todos</h1>
Expand Down