Files
main_frontend/README.md
T
Dmitriy Bratchikov bdf6bb44d9 Update README.md
2024-05-27 16:54:54 +07:00

2.1 KiB

Next.js + Feature-Sliced Design | Pure Template

Folders description

Folder Description
app Next App folder for App Routing
public Public files
src/app App FSD Layer
src/pagesLayer* Pages FSD Layer
src/widgets Widgets FSD Layer
src/features Features FSD Layer
src/entities Entities FSD Layer
src/shared Shared FSD Layer

pagesLayer, not pages because pages is a reserved name for Pages Router and an error occurs during assembly.

Remove junk .gitkeep files

UNIX

rm -rf .src/app/.gitkeep .src/entities/.gitkeep .src/features/.gitkeep .src/shared/.gitkeep .src/widgets/.gitkeep ./public/.gitkeep

WINDOWS

del .\src\app\.gitkeep
del .\src\entities\.gitkeep
del .\src\features\.gitkeep
del .\src\shared\.gitkeep
del .\src\widgets\.gitkeep
del .\public\.gitkeep

This template uses such development assistants

  • Eslint
  • Prettier
  • Stylelint
  • Jest

If you don't need it, you can disable it at any time by removing the dependency from your package.json and .*rc file.