caiobiodere / cordova-template-framework7-vue-webpack

Framework7 - Vue - Webpack Cordova Template with Webpack Dev Server and Hot Module Replacement
Apache License 2.0
621 stars 154 forks source link

Version 2.3.9 - ES Module #166

Closed VisualMafia closed 5 years ago

VisualMafia commented 5 years ago

Version 2.3.9 - ES Module. You need to add components separately. This is not very convenient. I would add two options to the assembly so that you can choose.

All components (Bundle) // Import Framework7 import Framework7 from 'framework7/framework7.esm.bundle.js';

// Import Framework7 Vue import Framework7Vue from 'framework7-vue/framework7-vue.esm.bundle.js';

caiobiodere commented 5 years ago

Can you show me a better explanation to use components as a bundle instead of separately? For me, if I use them individually, I can have a better performance because I would use only as needed

Thanks for your help

VisualMafia commented 5 years ago

Previous versions were Bundle. According to this, if you update an existing application, you can not immediately understand what is wrong with. Is there a difference in performance between Bundle and ES Module? I always use the Bundle, everything works quickly.

caiobiodere commented 5 years ago

@VisualMafia I've done the changes to the whole bundle right here: https://github.com/caiobiodere/cordova-template-framework7-vue-webpack/releases/tag/2.4.1