framework7io / framework7-vue

Deprecated! Build full featured iOS & Android apps using Framework7 & Vue
http://framework7.io/vue/
MIT License
674 stars 150 forks source link

allow individual modules to be used #219

Closed vinstah closed 6 years ago

vinstah commented 7 years ago

Hello,

I would like to know how do I include only one component without having to add Vue.use(framework7-vue). Currently I only need to use the Calendar component and would like to be able to include it like so: import { Calendar } from 'framework7-vue export default { components: { Calendar } } currently I see in dist/framework7.vue.js all the components are included in the component property this could potentially be exported at the bottom of the file.

It would also be nice if the components CSS was included in the component itself but that's not an issue right now

Thanks for the great work!

nolimits4web commented 7 years ago

Not possible at the moment, will be available in v2 version of plugin based on F7 v2

nolimits4web commented 6 years ago

Possible in v2