SharePoint App CSS issue

Problem: The other day I had a problem with CSS in my app. I had installed a SharePoint hosted app on a team site. Everything was properly set up, the app environment, the app url, but still the app was not working as expected. The home page opened properly but css was not loaded and all other links were not working.

Solution: Finally after searching a lot I figured out the issue. The issue was that the web application in which the app was installed didn’t have a root site collection(/). After creating the root site collection the app started working properly.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s