-
Notifications
You must be signed in to change notification settings - Fork 14
Stage default file loading
Atul Bhatt edited this page Feb 22, 2024
·
1 revision
This is my documentation of solving a bug related to loading a default file on the stage
.
When we open a project folder, the following checks happen to load the stage with an HTML content.
- Check if the project root directory has an
index.html
file and load it. - If no index.html file present, then load the next available ".html" file in the directory which comes at top in ascending order alphabetically.
- Now, what if their are no files present in the
root
directory of the project. In that case we create aindex.html
file and fill it with some dummy html.
And the current issue #621 that I'm solving is related to that.