you know if it´s posible put a index.html file as default page of a Sharepoint hosted app instead a Default.aspx page?
Any examples?
Thanks in advance
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityTry to make your index.html as default page in appmanisfest file. Change the startpage url in xml like ~AppWebUrl/Pages/index.html
But make sure you need to create index.html page and have to upload it in Pages library.
Assuming you are using Visual Studio 2017, right click on the Pages folder in the solution and select "Add" and then "New item". Choose to add an HTML file and pick any name, such as "index.html". Next, open the AppManifest.xml file. On the General tab, there is a field named "Start page". Set this to the HTML page you just created.
While supported, using an HTML file means you are responsible for bringing in the SharePoint chrome and other SharePoint web styles that you may want. Some of that is wired up already in the Default.aspx page.