Skip to content

Commit a55e7c7

Browse files
committed
chore: update template(sync official)
1 parent df13b52 commit a55e7c7

File tree

2 files changed

+19
-33
lines changed

2 files changed

+19
-33
lines changed

src/App.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,14 @@ import HelloWorld from './components/HelloWorld.vue'
5555
}
5656
5757
.logo.vite:hover {
58-
filter: drop-shadow(0 0 2em #747bff);
58+
filter: drop-shadow(0 0 2em #646cffaa);
5959
}
6060
6161
.logo.electron:hover {
6262
filter: drop-shadow(0 0 2em #9FEAF9);
6363
}
6464
6565
.logo.vue:hover {
66-
filter: drop-shadow(0 0 2em #249b73);
66+
filter: drop-shadow(0 0 2em #42b883aa);
6767
}
6868
</style>

src/components/HelloWorld.vue

+17-31
Original file line numberDiff line numberDiff line change
@@ -9,44 +9,30 @@ const count = ref(0)
99
<template>
1010
<h1>{{ msg }}</h1>
1111

12-
<p>
13-
Recommended IDE setup:
14-
<a href="https://code.visualstudio.com/" target="_blank">VS Code</a>
15-
+
16-
<a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>
17-
</p>
18-
19-
<p>See <code>README.md</code> for more information.</p>
12+
<div class="card">
13+
<button type="button" @click="count++">count is {{ count }}</button>
14+
<p>
15+
Edit
16+
<code>components/HelloWorld.vue</code> to test HMR
17+
</p>
18+
</div>
2019

2120
<p>
22-
<a href="https://vitejs.dev/guide/features.html" target="_blank">
23-
Vite Docs
24-
</a>
25-
|
26-
<a href="https://v3.vuejs.org/" target="_blank">Vue 3 Docs</a>
21+
Check out
22+
<a href="https://vuejs.org/guide/quick-start.html#local" target="_blank"
23+
>create-vue</a
24+
>, the official Vue + Vite starter
2725
</p>
28-
29-
<button type="button" @click="count++">count is: {{ count }}</button>
3026
<p>
31-
Edit
32-
<code>components/HelloWorld.vue</code> to test hot module replacement.
27+
Install
28+
<a href="https://github.com/johnsoncodehk/volar" target="_blank">Volar</a>
29+
in your IDE for a better DX
3330
</p>
31+
<p class="read-the-docs">Click on the Vite and Vue logos to learn more</p>
3432
</template>
3533

3634
<style scoped>
37-
a {
38-
color: #42b983;
39-
}
40-
41-
label {
42-
margin: 0 0.5em;
43-
font-weight: bold;
44-
}
45-
46-
code {
47-
background-color: #eee;
48-
padding: 2px 4px;
49-
border-radius: 4px;
50-
color: #304455;
35+
.read-the-docs {
36+
color: #888;
5137
}
5238
</style>

0 commit comments

Comments
 (0)