Hello, I'm getting this error after i followed the installation proccess mensioned in docs.
after running:
npm install --save-dev @nuxtjs/tailwindcss
npm install --include=dev @tailvue/nuxt
nuxt.config.ts:
modules: [ ..., '@nuxtjs/tailwindcss', '@tailvue/nuxt' ],
nuxt version: 3.7.4 OS: Windows 10
Hello, I'm getting this error after i followed the installation proccess mensioned in docs. after running: npm install --save-dev @nuxtjs/tailwindcss npm install --include=dev @tailvue/nuxt nuxt.config.ts:
modules: [ ..., '@nuxtjs/tailwindcss', '@tailvue/nuxt' ],
[id].vue: ( script setup ) ` import { useModal } from 'tailvue' const $modal = useModal()
function openModal() { $modal.show({ type: "danger", title: "This is the title property", body: "This is the body property.", primary: { label: "Primary Action", theme: "red", action: () => $toast.show("Primary Button clicked"), }, secondary: { label: "Secondary Action", theme: "white", action: () => $toast.show("Clicked Secondary"), }, }); } `
[id].vue: (template)
<button type="button" class="btn btn-primary" @click="openModal">Launch demo modal</button>