primevue-mirror/doc/installation/ExamplesDoc.vue

36 lines
1.8 KiB
Vue
Raw Normal View History

2023-03-08 08:35:24 +00:00
<template>
<DocSectionText v-bind="$attrs">
<p>We've created various samples for the popular options in the Vue ecosystem.</p>
</DocSectionText>
<div class="flex flex-wrap card justify-content-between align-items-center gap-3">
<a href="https://github.com/primefaces/primevue-quickstart-create-vue" class="flex flex-column align-items-center">
<img src="https://primefaces.org/cdn/primevue/images/logos/vite.svg" alt="Vite" class="w-8rem h-8rem mb-3" />
<span class="font-bold text-xl text-900">Vite</span>
</a>
<a href="https://github.com/primefaces/primevue-quickstart-nuxt3" class="flex flex-column align-items-center">
<img src="https://primefaces.org/cdn/primevue/images/logos/nuxt.svg" alt="Nuxt.JS" class="w-8rem h-8rem mb-3" />
<span class="font-bold text-xl text-900">Nuxt</span>
</a>
<a href="https://github.com/primefaces/primevue-quickstart" class="flex flex-column align-items-center">
<img src="https://primefaces.org/cdn/primevue/images/logos/vue.svg" alt="Vue CLI" class="w-8rem h-8rem mb-3" />
<span class="font-bold text-xl text-900">Vue-CLI</span>
</a>
2023-03-14 07:50:36 +00:00
<a href="https://github.com/primefaces/primevue-examples/tree/main/astro-quickstart" class="flex flex-column align-items-center">
2023-03-15 08:43:20 +00:00
<img :src="astroHref" alt="Astro.JS" class="w-8rem h-8rem mb-3" />
2023-03-14 07:50:36 +00:00
<span class="font-bold text-xl text-900">Astro</span>
</a>
2023-03-08 08:35:24 +00:00
</div>
</template>
2023-03-15 08:43:20 +00:00
<script>
export default {
computed: {
astroHref() {
const theme = this.$appState.darkTheme ? 'light' : 'dark';
return `https://primefaces.org/cdn/primevue/images/logos/astro-icon-${theme}.svg`;
}
}
};
</script>