add switch component
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
import LoginCard from './components/LoginCard.vue';
|
||||
import { useThemeStore } from './stores/theme';
|
||||
|
||||
const theme = useThemeStore()
|
||||
@@ -12,7 +10,9 @@ const theme = useThemeStore()
|
||||
<header>
|
||||
<RouterLink to="/user"> Go to User</RouterLink>
|
||||
<RouterLink to="/login"> Go to Login</RouterLink>
|
||||
<router-link to="/test"> Go to Test</router-link>
|
||||
</header>
|
||||
<div></div>
|
||||
|
||||
<main>
|
||||
<RouterView />
|
||||
|
||||
Reference in New Issue
Block a user