We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On compile for my vue.js project that is using typescript I get this error:
ERROR in: TS2702: 'APlayer' only refers to a type, but is being used as a namespace here.
It seems to be an internal library issue based on: the index.d.ts file.
I followed the guide and have this only this: main.ts
import APlayer from '@moefe/vue-aplayer'; const logoImage = './../statics/images/logo.png' Vue.use(Aplayer, { defaultCover: logoImage, productionTip: false, });
component.vue:
import Vue from 'vue'; import Component from 'vue-class-component'; import { Prop } from 'vue-property-decorator' import { getModule } from 'vuex-module-decorators'; import MusicPopupModule from './MusicPopupStoreModule'; import ZinMusicService from './../../services/drf_api/ZinMusicService' import { APlayer } from '@moefe/vue-aplayer'; @Component({ components: { APlayer, } })```
The text was updated successfully, but these errors were encountered:
#357 may help you
Sorry, something went wrong.
No branches or pull requests
On compile for my vue.js project that is using typescript I get this error:
ERROR in: TS2702: 'APlayer' only refers to a type, but is being used as a namespace here.
It seems to be an internal library issue based on:
the index.d.ts file.
I followed the guide and have this only this:
main.ts
component.vue:
The text was updated successfully, but these errors were encountered: