How to add folder?


I see other projects have folders, but I can’t figure out how to add them. I need a pages folder to use next.js.


You add them as part of your file name from the new file option. So for example, name a file ‘temp/example.txt’ and it’ll create the folder temp with the file example.txt inside it.


@Gareth, I tried that but the file structure is still flat:


Is there a way to actually have the files displayed as nested folders as well?


no, they just get grouped by folder in the list.