Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: correct a layer name typo in the next guide #717

Merged
merged 1 commit into from
Sep 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ the FSD project structure inside the `src` folder.

### Renaming the `pages` layer within the FSD structure

Another way to solve the problem is to rename the `app` layer in the FSD structure to avoid conflicts with the NextJS `pages` folder.
You can rename the `app` layer in FSD to `views`.
Another way to solve the problem is to rename the `pages` layer in the FSD structure to avoid conflicts with the NextJS `pages` folder.
You can rename the `pages` layer in FSD to `views`.
In that way, the structure of the project in the `src` folder is preserved without contradiction with the requirements of NextJS.

```sh
Expand Down Expand Up @@ -114,4 +114,4 @@ the FSD project structure inside the `src` folder. You should still also add the
- [(Thread) About the pages directory in NextJS](https://t.me/feature_sliced/3623)

[project-knowledge]: /docs/about/understanding/knowledge-types
[ext-app-router-stackblitz]: https://stackblitz.com/edit/stackblitz-starters-aiez55?file=README.md
[ext-app-router-stackblitz]: https://stackblitz.com/edit/stackblitz-starters-aiez55?file=README.md