Setup basic structure

This commit is contained in:
2024-05-26 19:15:17 +02:00
parent 6479807680
commit 7b344d4fa4
13 changed files with 364 additions and 28 deletions
+39
View File
@@ -5,6 +5,21 @@ import ToolingIcon from './icons/IconTooling.vue';
import EcosystemIcon from './icons/IconEcosystem.vue';
import CommunityIcon from './icons/IconCommunity.vue';
import SupportIcon from './icons/IconSupport.vue';
import { useAdditionalMenu } from '@/stores/menu';
import { computed, ref } from 'vue';
const toggle = ref(false);
const menu = computed(() => {
return [
{
text: toggle.value ? 'option 1 select' : 'option 1 unselect',
onClick: () => (toggle.value = !toggle.value)
},
{ text: 'option 2' }
];
});
useAdditionalMenu(menu);
</script>
<template>
@@ -118,4 +133,28 @@ import SupportIcon from './icons/IconSupport.vue';
>becoming a sponsor</a
>.
</WelcomeItem>
<WelcomeItem>
<template #icon>
<SupportIcon />
</template>
<template #heading>Support Vue</template>
As an independent project, Vue relies on community backing for its
sustainability. You can help us by
<a href="https://vuejs.org/sponsor/" target="_blank" rel="noopener"
>becoming a sponsor</a
>.
</WelcomeItem>
<WelcomeItem>
<template #icon>
<SupportIcon />
</template>
<template #heading>Support Vue</template>
As an independent project, Vue relies on community backing for its
sustainability. You can help us by
<a href="https://vuejs.org/sponsor/" target="_blank" rel="noopener"
>becoming a sponsor</a
>.
</WelcomeItem>
</template>