feat: added cookie prompt component not yet functional

removed js files from missconfigured typescript project
This commit is contained in:
2024-12-30 16:35:18 +01:00
parent 1da99ff982
commit 61abbcccc5
9 changed files with 136 additions and 98 deletions

View File

@ -2,9 +2,10 @@
import {defineComponent, Ref, ref, SetupContext} from 'vue';
import DebugLog from "./classes/debugger";
import Settings from "./components/Settings.vue";
import cookiePrompt from "./components/cookiePrompt.vue";
export default defineComponent({
components: {Settings, GameInput, AttemptList},
components: {Settings, cookiePrompt},
setup() {
var showSettings:Ref<boolean> = ref(false);
@ -35,7 +36,7 @@ export default defineComponent({
const attemptList = ref<InstanceType<typeof AttemptList> | null>(null);
return { showSettings, toggleSettings, attemptList };
return { showSettings, toggleSettings };
},
});
</script>
@ -48,6 +49,7 @@ export default defineComponent({
</svg>
</button>
<Settings v-if="showSettings" @close="toggleSettings"/>
<cookiePrompt></cookiePrompt>
</div>
</template>