From 4543c284a7f3f9bb93067ba96ac8d4e540528013 Mon Sep 17 00:00:00 2001 From: kandrusyak Date: Tue, 25 Jul 2023 13:49:49 +0300 Subject: [PATCH] fix icons --- index.js | 5 +++-- package.json | 2 +- src/components/HelloWorld.vue | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 91dcfd6..75bc8b4 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,8 @@ import VInput from './src/components/VInput.vue'; import VSelect from './src/components/VSelect.vue'; import {Quasar} from 'quasar'; import quasarUserOptions from './src/quasar-user-options'; -import VIcon from '@/components/VIcon.vue'; +import VIcon from './src/components/VIcon.vue'; +import {h} from 'vue' function install(app) { app.use(Quasar, quasarUserOptions) @@ -17,7 +18,7 @@ function install(app) { return { cls: 'astra-icons astra-vicons', - content: + content: h(VIcon, {name}) } } } diff --git a/package.json b/package.json index 653764e..1936778 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dop/astra-ui", - "version": "0.2.4", + "version": "0.2.5", "private": false, "module": "index.js", "scripts": { diff --git a/src/components/HelloWorld.vue b/src/components/HelloWorld.vue index 8b85c95..d796a68 100644 --- a/src/components/HelloWorld.vue +++ b/src/components/HelloWorld.vue @@ -8,6 +8,7 @@ +
Input