feat: tailwind 2 + script setup!
This commit is contained in:
1 parent
f179e3e40b
commit
14b6a74360
21 files changed
+526
-455
No files matched your search
@@ -3,14 +3,17 @@
|
||||
</template>
|
||||
|
||||
<script setup="props" lang="ts">
|
||||
import { watch, ref, onMounted, nextTick } from 'vue'
|
||||
import { watch, ref, onMounted, nextTick, defineProps } from 'vue'
|
||||
import Iconify from '@purge-icons/generated'
|
||||
|
||||
declare const props: {
|
||||
icon: string
|
||||
}
|
||||
const props = defineProps({
|
||||
icon: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
|
||||
export const el = ref<HTMLElement | null>(null)
|
||||
const el = ref<HTMLElement | null>(null)
|
||||
|
||||
const update = async() => {
|
||||
if (el.value) {
|
||||
|
||||
Reference in new issue
Block a user