<script setup>
import CreateSecret from "./components/CreateSecret.vue";
import HelloWorld from "./components/HelloWorld.vue";
</script>

<template>
  <div>
    <HelloWorld msg="You did it!" @loggedin="loggedin = true" />
    <CreateSecret v-if="loggedin" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      loggedin: false,
    };
  },
};
</script>
<style scoped></style>
