Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

297 Commits

Folders and files

Repository files navigation

SS Mono Final - Monorepo

독립적인 프론트엔드 애플리케이션 모노레포 프로젝트입니다.

구조

ss-mono-final/
├── apps/
│   └── fe/
│       ├── host/
│       │   └── host/            # Host 애플리케이션 (포트 11000)
│       └── remote/
│           ├── remote/      # Remote 애플리케이션 (포트 12000)
│           ├── measurement/ # Measurement 애플리케이션 (포트 12001)
│           └── ...         # 추가 Remote 앱 (yarn 실행 시 자동 동기화)
├── packages/
│   ├── package.json          # 워크스페이스 @repo/packages (fe·shared 의존성·스크립트)
│   ├── tsconfig.json         # packages/fe, packages/shared 소스용 TS 설정
│   ├── fe/
│   │   ├── ui/               # 공통 UI (@repo/packages/fe-ui/… export)
│   │   ├── utils/            # 공통 유틸 (@repo/packages/fe-utils/… export)
│   │   └── vite-config/      # Vite 공통 유틸 (예: url)
│   └── shared/
│       ├── config/           # 공유 ESLint 등
│       └── scripts/          # dev, preview 오케스트레이터 등
├── config/                   # 환경별 설정 (local.ts 등)
├── package.json
├── turbo.json
└── tsconfig.base.json

기술 스택

  • Package Manager: Yarn 4
  • Build Tool: Turborepo, Vite
  • Styling: Tailwind CSS v4 (CSS-first, config 파일 없음)
  • Framework: React 19
  • Language: TypeScript

설치

yarn install

실행

모든 애플리케이션을 동시에 실행:

yarn dev

개별 애플리케이션 실행:

# Host (Host)
cd apps/fe/host/host
yarn dev

# Remote (Remote)
cd apps/fe/remote/remote
yarn dev

# Measurement (Remote)
cd apps/fe/remote/measurement
yarn dev

빌드

yarn build

Tailwind CSS v4 사용법

이 프로젝트는 Tailwind CSS v4의 CSS-first 방식을 사용합니다.

  • tailwind.config.* 파일을 사용하지 않습니다
  • Vite 플러그인(@tailwindcss/vite)을 사용합니다
  • CSS 파일에서 @import "tailwindcss"로 Tailwind를 import합니다

공통 UI 패키지의 CSS 사용

@import 'tailwindcss';
@import '@repo/packages/fe-ui/styles';

애플리케이션 구조

각 애플리케이션은 완전히 독립적으로 실행됩니다:

  • host: 포트 11000
  • remote: 포트 12000
  • measurement: 포트 12001

각 애플리케이션은 서로 다른 도메인에서 실행될 수 있으며, 공통 코드는 @repo/packages 워크스페이스의 exports로 연결된 서브패스(@repo/packages/fe-ui/..., @repo/packages/fe-utils/...)로 공유합니다.

📚 문서

자세한 문서는 doc/kr/ 폴더를 참고하세요.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages