Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nzt3-gh committed Jun 15, 2024
1 parent 10cdb2a commit aaf67cf
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 10 deletions.
22 changes: 18 additions & 4 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,25 @@ import HelloWorld from './components/HelloWorld.vue'

<template>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src="/vite.svg" class="logo" alt="Vite logo" />
<a
href="https://vitejs.dev"
target="_blank"
>
<img
src="/vite.svg"
class="logo"
alt="Vite logo"
>
</a>
<a href="https://vuejs.org/" target="_blank">
<img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
<a
href="https://vuejs.org/"
target="_blank"
>
<img
src="./assets/vue.svg"
class="logo vue"
alt="Vue logo"
>
</a>
</div>
<HelloWorld msg="Vite + Vue" />
Expand Down
23 changes: 17 additions & 6 deletions src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ const count = ref(0)
<h1>{{ msg }}</h1>

<div class="card">
<button type="button" @click="count++">count is {{ count }}</button>
<button
type="button"
@click="count++"
>
count is {{ count }}
</button>
<p>
Edit
<code>components/HelloWorld.vue</code> to test HMR
Expand All @@ -19,16 +24,22 @@ const count = ref(0)

<p>
Check out
<a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
>create-vue</a
>, the official Vue + Vite starter
<a
href="https://vuejs.org/guide/quick-start.html#local"
target="_blank"
>create-vue</a>, the official Vue + Vite starter
</p>
<p>
Install
<a href="https://github.com/vuejs/language-tools" target="_blank">Volar</a>
<a
href="https://github.com/vuejs/language-tools"
target="_blank"
>Volar</a>
in your IDE for a better DX
</p>
<p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
<p class="read-the-docs">
Click on the Vite and Vue logos to learn more
</p>
</template>

<style scoped>
Expand Down

0 comments on commit aaf67cf

Please sign in to comment.