diff options
author | Remy Raes <raes.remy@gmail.com> | 2022-09-22 23:04:26 +0200 |
---|---|---|
committer | Remy Raes <raes.remy@gmail.com> | 2022-09-22 23:04:26 +0200 |
commit | 3ab7ade87ba7fb7e6f8bb2184f707e2afa979a75 (patch) | |
tree | 9a8f43c4ec39ed67985cea75661a0c0b26a80a10 | |
parent | 6b7f92b062ab8d4ed7ccd8cc84663b9cab63ec2f (diff) | |
download | FlightCore-3ab7ade87ba7fb7e6f8bb2184f707e2afa979a75.tar.gz FlightCore-3ab7ade87ba7fb7e6f8bb2184f707e2afa979a75.zip |
refactor: remove HelloWorld vue component
-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> |