init: шаблон Next.js приложения

- Next.js 16 + React 19 + TypeScript
- Mantine UI + PostCSS Modules
- Biome (линтинг и форматирование)
- Zustand, SWR
- Структура FSD (screens, widgets, features, entities, shared)
- Шаблоны генерации (.templates/): component, screen, feature, widget, entity, layout, store
- Конфигурация VS Code (расширения, настройки)
- CSS-токены (цвета, отступы, радиусы, медиа)
- Open Graph метаданные
- Тестовый home screen с Mantine
This commit is contained in:
2026-03-28 22:11:43 +03:00
commit 8a8ecba397
47 changed files with 2028 additions and 0 deletions

View File

@@ -0,0 +1 @@
export { {{name.pascalCase}}Screen } from './{{name.kebabCase}}.screen'

View File

@@ -0,0 +1,3 @@
.root {
}

View File

@@ -0,0 +1,13 @@
import type { FC } from 'react'
import styles from './styles/{{name.kebabCase}}.module.css'
/**
* Экран {{name.pascalCase}}.
*/
export const {{name.pascalCase}}Screen: FC = () => {
return (
<div className={styles.root}>
{{name.kebabCase}}
</div>
)
}