Error ionic super starter template


#1

I received the following error when click on “login”:
Failed to load https://example.com/api/v1/login: Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘http://localhost:8100’ is therefore not allowed access.
After login, the sidemenu also not showing.
Can anyone help me? thx.


#2

Fixed the CORS issue using this solution https://noobfornoob.wordpress.com/2017/11/23/angular5-ionic-3-httpclient-cors-issue-solution/
but the sidemenu still not showing.