Improve mobile app development experience #905
Replies: 2 comments 4 replies
-
THIS IS AWESOME. I'd love to share this template if you're interested in adding it to https://github.com/pikapkg/snowpack/blob/master/create-snowpack-app/cli/README.md in a PR.
I'd love to see an example of what you mean, to help understand.
HMR should work out of the box on all official templates. For server, do you mean server side rendering? Would love an example.
Right now most of our templates put some files in |
Beta Was this translation helpful? Give feedback.
-
I am thinking it would be awesome if someone could get Snowpack, HMR, and Ionic Vue Beta (https://ionicframework.com/blog/announcing-the-new-ionic-vue-beta/) working together in a template or starter. I would love to give this a try, sadly cannot make any promise due to some other priorities. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I was able to get Snowpack, Vue, and the CapacitorJS mobile stack working together with some quick workarounds here (renamed): https://github.com/brodybits/snowpack-vue-capacitor-2-demo
HMR is missing, and I hope to get it working in the near future.
CapacitorJS was designed to make this kind of mobile app development relatively painless, but I think it would be cool if we could make this go even more smoothly over time. Here are my ideas so far (updated):
transpilationtransformation options to help avoid some of the most troublesome ES syntax on Android and older iOS mobilesand less importantly now:
P.S. I would also like to get Snowpack working with Apache Cordova. This should be pretty straightforward though likely not quite as smooth as with CapacitorJS.
Beta Was this translation helpful? Give feedback.
All reactions