KiKi

KiKi

Ionic + Liveview / Ionic + Vue / PWA mobile app

Hi,

I’ve created a small web app and now I would like to turn in into a mobile app (iOS and Android). All I need is a wrapper really so I think Ionic would be a good choice. On the front end, I would like to use Liveview, it should be perfect for what I need. Another solution is Vue, but as I don’t have much experience with it, I would use it only if it has some really big advantage over Liveview. Third option is a PWA, I also don’t have any experience with it, and I haven’t seen many PWA apps so I’m not sure if that would be a good choice.

Could you please give me some advice and guidance on how to proceed?

Most Liked

tejpochiraju

tejpochiraju

This may or may not help you with your specific choices but I just posted a blog on hosting PWAs with Phoenix. I use our Websockets client as an example. This particular one is pretty simple and only uses a dash of AlpineJS but no reason you couldn’t go all out with Vue or similar.

For what it’s worth, if you plan to integrate with Phoenix routing and hosting (not just APIs), Vue is likely to be simpler than Ionic. Ionic requires you to use their build tools and I have found fiddling there to be quite tricky. With Vue, you could get started by simply dropping in a script tag and binding components to elements on the page. You could then do what I do in the blog and just point the router and assets the right way.

Exadra37

Exadra37

The simplest way to have a PWA web app is to add a manifest file to it, and you can use an online generator:

This manifest file will allow your web app to be added into a mobile device and “behave” and “look” like a mobile app.

After this you can then start to try to add to your web app more features of a PWA, like support for service workers if it makes sense.

A good starting point may be here:

Where Next?

Popular in Discussions Top

matthias_toepp
I’d love to hear what people think about Wisp, the new Gleam web framework started by Gleam’s primary creator Louis Pilfold. Gleam, alon...
New
vans163
So useless benchmarks aside, Its possible to write a webserver that can serve 300k requests per second (perhaps more with optimizations)....
New
gausby
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
1207 39297 209
New
nburkley
AWS re:Invent is on at the moment with some interesting announcements. One new feature in particular is the Lambda Runtime API for AWS La...
New
AlexMcConnell
The reason that Rails is as popular as it is is because it’s very easy for relatively inexperienced developers to get a lot of work done....
588 19568 166
New
AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
rower687
Hi all, I’ve been reading a lot about the “let it crash” term and how supervising processes and the whole messaging passing make an elixi...
New
boundedvariable
I am going through the kafka architecture. All the features what the kafka is providing are already in Erlang. I would like hear your opi...
New
100phlecs
Are there any downsides, like perf issues, to putting all functional components in CoreComponents as long as you prefix it with the conte...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

Other popular topics Top

AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New
jerry
Good day to you all. I have been struggling to get a query involving like and ilike to work. Can anyone assist me on this, please? pro...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 52341 488
New
marick
I had some trouble figuring out how to make many-to-many associations work. Once I got it working, I wrote a blog post. Because I’m a nov...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New

We're in Beta

About us Mission Statement