Closed egoist closed 7 years ago
it support plugin installation now. RecyclerView need Vue to create instance to render item of list, I think maybe the plugin would be better.
import Vue from 'vue'
import recyclerview from 'recyclerview'
Vue.use(recyclerview)
export default {
components: { RecyclerView }
}
Thanks for the reply, sounds fair enough, it could be better if we can directly import the component for local registration, you can access Vue
via import Vue from 'vue'
directly. Anyways this is not an issue, closing :D
I find it a little verbose and unnecessary to use this component like:
Instead, maybe introduce a simplified usage, as plugin:
As local component:
As global component: