Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71530

Optimize PWA for desktop browsers?

$
0
0

@JonasCoding wrote:

So I have created my fist pwa with Ionic. Now I would like to add support for the desktop browsers.

For example I’m using a tabbar in my pwa. I wan’t to exchange it with a Navbar (probably from bootstrap). I probably need a completely different page layout for desktop.

Is the best way to just build another Angular app and share my services and components I wan’t to reuse?

I think that would be the best way, because I don’t want to optimize my (mobile) pages to suit desktop browsers and rather build new components and reuse some compomnents and services.

However this way I would need two different urls (Im using Firebase hosting). How could I redirect a user to the right url based on his device?

how would you achieve it and how would you project structure look like?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71530

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>