caiobiodere / cordova-template-framework7-vue-webpack

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

How to remove cordova? #86

Closed JCKodel closed 6 years ago

JCKodel commented 6 years ago

This template is better than recommended F7 Vue template because hot-load actually works (this replaces contents on the fly, the other one reloads the entire app, even on a simple css change), and it appears to be more active than the other.

The problem is that I'm making a simple website, not a cordova app =\ I guess leaving cordova will lead to some problems and overhead.

Anyway... It is possible to make this template (or a fork of it) to work without cordova?

caiobiodere commented 6 years ago

Hi @JCKodel Nice to meet you :)

I think you can use this option if you want to keep using VueJS with Webpack: https://github.com/vuejs/vue-cli

JCKodel commented 6 years ago

Thank you! Worked perfectly!

For those who are working with https://github.com/framework7io/Framework7-Vue-Webpack-Template, applying this solution requires almost no change at all (and hot reloading will work without reloading the page).

Bom saber que tem brazuca ativo na comunidade. ;-)