fix icons
This commit is contained in:
5
index.js
5
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: <VIcon name={name} />
|
||||
content: h(VIcon, {name})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@dop/astra-ui",
|
||||
"version": "0.2.4",
|
||||
"version": "0.2.5",
|
||||
"private": false,
|
||||
"module": "index.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
<v-button label="Сохранить" outline />
|
||||
<v-button label="Сохранить" outline icon="ios_share" />
|
||||
</div>
|
||||
<q-icon name="app:edit" color="dark" />
|
||||
<div style="width: 300px">
|
||||
<div class="text-h3">Input</div>
|
||||
<VInput v-model="text" />
|
||||
|
||||
Reference in New Issue
Block a user