Justineo / vue-awesome

Awesome SVG icon component for Vue.js, built-in with Font Awesome icons.

Home Page:https://justineo.github.io/vue-awesome/demo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update to vuejs v.3 + TypeScript

ayoubkhan558-zz opened this issue · comments

Update to vuejs v.3 + TypeScript

commented

with 4.1.0 at least the vue-awesome/components/Icon.vue provided some typescript support.
Since 4.2.0 with vue-awesome/components/Icon.js this is gone.
@Justineo is there any plan to implement Typescript support? If not, is a PR for this allowed?

commented

@JakeAtTurner thank you!
@Justineo can we please use this?

@JakeAtTurner can you deploy to github packages, and enable issues?

@JakeAtTurner can you deploy to github packages, and enable issues?

use npm install --save JakeAtTurner/vue-awesome#vue3.0-build
I have enabled the issues
I might create a package later, but not entirely sure.

what's the main blocker here?

This is not working for me. I've installed @JakeAtTurner 's build. In my main.ts I have...

import { createApp } from 'vue'
import App from './App.vue'
import {createPinia} from 'pinia'
import Icon from 'vue-awesome/components/Icon'

createApp(App)
.use(createPinia())
.use(Icon)
.mount('#app')

no juice.