feature: added info about excluded folders

This commit is contained in:
Dmitriy Bratchikov
2024-05-27 17:34:32 +07:00
parent 02308ad20e
commit 366813cd4a
+2
View File
@@ -5,6 +5,8 @@
Do not delete the pages\* folder even if you are using App Router, deleting the pages folder Do not delete the pages\* folder even if you are using App Router, deleting the pages folder
will result in a [build error](https://t.me/feature_sliced/1/107414). will result in a [build error](https://t.me/feature_sliced/1/107414).
In WebStorm you can mark a directory as [excluded](https://www.jetbrains.com/help/webstorm/configuring-project-structure.html#content-root). After that, you wont see it in shared files (like, for example, node_modules or .next)
## ADDITIONAL SOLUTION TO THE PROBLEM ## ADDITIONAL SOLUTION TO THE PROBLEM
If you don't like the empty "pages" folder in the project root, you can rename the pages layer (./src/pages) If you don't like the empty "pages" folder in the project root, you can rename the pages layer (./src/pages)