Giter Site home page Giter Site logo

Comments (11)

valnub avatar valnub commented on May 18, 2024 1

Great work! It might be worth checking out Holly Schinsky's template as well: https://github.com/hollyschinsky/phonegap-template-framework7-vue

Also, I created a blog post about these new templates: https://www.timo-ernst.net/blog/2017/01/15/phonegapcordova-templates-for-vuejs-with-framework7/

from framework7-vue.

centrual avatar centrual commented on May 18, 2024 1

I updating the template with webpack-dev-server and hot-reload. Thanks for your blog post! 💛
Umm and we can do this template for phonegap too. Let i check the required changes.

from framework7-vue.

nolimits4web avatar nolimits4web commented on May 18, 2024 1

@centrual maybe you can send PR to these pages http://framework7.io/vue/ (button with template link) and http://framework7.io/vue/templates.html with information about your template?

from framework7-vue.

henninghorn avatar henninghorn commented on May 18, 2024

Wow, this is amazing, @centrual! Great work!

from framework7-vue.

centrual avatar centrual commented on May 18, 2024

Thank you @henninghorn 💛

from framework7-vue.

henninghorn avatar henninghorn commented on May 18, 2024

I'm looking forward to it, @centrual !

from framework7-vue.

centrual avatar centrual commented on May 18, 2024

@valnub @henninghorn I updated the code for webpack-dev-server. Just hot module replacement not working, because of that it refreshes page on every change, but everything else is good.

Hot-module-replacement available now! 😄

I added phonegap support and i made lot of changes. Can you check?

Have a great day!

from framework7-vue.

centrual avatar centrual commented on May 18, 2024

@nolimits4web Okay, i adding immediately 👍 Thank you! 😄

I added PR. Thank you: framework7io/framework7-website#31

from framework7-vue.

ijry avatar ijry commented on May 18, 2024

how to listen android's backbutton event and handle with this.$router.back();
@centrual

from framework7-vue.

hazzo avatar hazzo commented on May 18, 2024

Sorry but it's not simpler and cleaner to have a cordova folder inside the webpack template and set cordova there? I test it and it works. Just make a symlink of www folder with the dist folder and works great (corodva.js must be imported obviously in the index.html to get access to cordova API. Maybe it could be added on run build script). The only downsize it is that you have to run commands inside the cordova folder.

@centrual I tested your template but I miss npm run dev because it does not trigger cordova run|emulate for hot reloading.

from framework7-vue.

hazzo avatar hazzo commented on May 18, 2024

@nolimits4web forked your webpack template and done slight modifications to add cordova wrapper. I modified slightly your README to explain some little "install" steps. I find your template very organised so I decided to add cordova to keep the neatness ;)
I made this fork for my own purposes and I thought it could help someone.

Webpack + Cordova template fork

Cheers!

from framework7-vue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.