buttons are now components
parent
548733be82
commit
ad4c66fc6a
@ -0,0 +1,17 @@
|
|||||||
|
<template>
|
||||||
|
<div class="p-1">
|
||||||
|
<button
|
||||||
|
type="button"
|
||||||
|
v-show="visible"
|
||||||
|
class="inline-flex bg-black rounded-full text-xs p-1"
|
||||||
|
>
|
||||||
|
<Icon :name="icon" color="white" />
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: ['icon', 'work', 'visible']
|
||||||
|
}
|
||||||
|
</script>
|
@ -1,4 +1,7 @@
|
|||||||
// https://nuxt.com/docs/api/configuration/nuxt-config
|
// https://nuxt.com/docs/api/configuration/nuxt-config
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
modules: ['@nuxtjs/tailwindcss', '@nuxt/image', 'nuxt-icon']
|
modules: ['@nuxtjs/tailwindcss', '@nuxt/image', 'nuxt-icon'],
|
||||||
|
image: {
|
||||||
|
domains: ['unboundedpress.org']
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue