Force mobile view on desktop screen


#1

Is there a way to make the desktop version look like a mobile phone. I want the page centered and with a small width.


#2

Use ionic serve command with a -l at the end “ionic serve -l” to open your app in the ionic lab where there are two mobile phone size app in the browser. One for the IOS and other for the android.

Or you can use only “ionic serve” command and then after the app is started in the browser, you can press F12, then you will have the option to view your app in a mobile like screen. Options for choosing different mobile phones is just below the url bar.

Hope this answers your question.