FastAuth/frontend/src/App.vue

23 lines
402 B
Vue
Raw Normal View History

2024-06-10 15:10:22 +00:00
<script setup>
2024-06-11 18:15:29 +00:00
import CreateSecret from "./components/CreateSecret.vue";
2024-06-10 15:10:22 +00:00
import HelloWorld from "./components/HelloWorld.vue";
</script>
<template>
<div>
2024-06-11 18:15:29 +00:00
<HelloWorld msg="You did it!" @loggedin="loggedin = true" />
<CreateSecret v-if="loggedin" />
2024-06-10 15:10:22 +00:00
</div>
</template>
2024-06-11 18:15:29 +00:00
<script>
export default {
data() {
return {
loggedin: false,
};
},
};
</script>
2024-06-10 15:10:22 +00:00
<style scoped></style>