Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 48980

Build PWA for deployment in sub directory

$
0
0

I need to build my PWA so it is on my server in a /pwa directory. It seems like this should be simple but I can’t find a definitive answer as to how to go about this.

I’ve read that Angular has build commands but I’ve tried:
ionic build --prod --public-url=/pwa/
ionic build --prod --base-href /pwa/

and neither seem to change the value.

I’ve seen some posts about changing the base href and manifest setting manually but it seems like it shouldn’t be that complicated. If it does have to be changed manually is there any guides to doing this?

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 48980

Trending Articles



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