How to add folder?


#1

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.


#2

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.


#3

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

image

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


#4

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