diff options
Diffstat (limited to 'src-vue')
-rw-r--r-- | src-vue/src/App.vue | 15 | ||||
-rw-r--r-- | src-vue/src/components/HelloWorld.vue | 38 |
2 files changed, 0 insertions, 53 deletions
diff --git a/src-vue/src/App.vue b/src-vue/src/App.vue index 97c8ea20..68cb43ee 100644 --- a/src-vue/src/App.vue +++ b/src-vue/src/App.vue @@ -1,7 +1,4 @@ <script setup lang="ts"> -// This starter template is using Vue 3 <script setup> SFCs -// Check out https://vuejs.org/api/sfc-script-setup.html#script-setup -import HelloWorld from './components/HelloWorld.vue' </script> <template> @@ -11,19 +8,7 @@ import HelloWorld from './components/HelloWorld.vue' <el-main>Main</el-main> </el-container> </div> - <!-- <HelloWorld msg="Vite + Vue" /> --> </template> <style scoped> -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.vue:hover { - filter: drop-shadow(0 0 2em #42b883aa); -} </style> diff --git a/src-vue/src/components/HelloWorld.vue b/src-vue/src/components/HelloWorld.vue deleted file mode 100644 index 52309103..00000000 --- a/src-vue/src/components/HelloWorld.vue +++ /dev/null @@ -1,38 +0,0 @@ -<script setup lang="ts"> -import { ref } from 'vue' - -defineProps<{ msg: string }>() - -const count = ref(0) -</script> - -<template> - <h1>{{ msg }}</h1> - - <div class="card"> - <button type="button" @click="count++">count is {{ count }}</button> - <p> - Edit - <code>components/HelloWorld.vue</code> to test HMR - </p> - </div> - - <p> - Check out - <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/johnsoncodehk/volar" 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> -</template> - -<style scoped> -.read-the-docs { - color: #888; -} -</style> |