Skip to content

Commit

Permalink
fix(create-vine): modified some template
Browse files Browse the repository at this point in the history
  • Loading branch information
ShenQingchuan committed Nov 20, 2023
1 parent 759b3ea commit 3aecdd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 17 deletions.
8 changes: 4 additions & 4 deletions packages/create-vue-vine/template/src/app.vine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ function Counter(props: {

return vine`
<div class="counter">
<button @click="count += step"> +{{ step }} </button>
<p>Count: {{ count }}</p>
<button @click="count += step">+</button>
<button @click="count -= step">-</button>
<button @click="count -= step"> -{{ step }} </button>
</div>
`
}

export function App() {
return vine`
<div>
<Counter step="1" />
<div class="container">
<h1>Vue Vine</h1>
<Counter step="2" />
</div>
`
Expand Down
13 changes: 0 additions & 13 deletions packages/create-vue-vine/template/src/utils.ts

This file was deleted.

0 comments on commit 3aecdd4

Please sign in to comment.