Vue.prototype is marked as unused

 

I've defined vue prototype '$http' in ../frontend/src/main.js, and it is used in ../frontend/src/components/IndexPage.vue file.

But IntelliJ marks '$http' as unused definition.

How can I fix this?

0

请先登录再写评论。