o2o-negosium-original/front
민헌 eaf41b8041 [feat] front: React + Vite + TypeScript 초기 셋업
- Vite(react-ts) 스캐폴딩, @/* -> src 경로 alias 설정
- 라이브러리 추가: TanStack Query, axios, zustand, slate(react/history), tailwindcss v4
- core/provider.tsx 로 QueryClientProvider 분리 및 main 연결

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 11:12:04 +09:00
..
public [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
src [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
.gitignore [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
eslint.config.js [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
index.html [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
package-lock.json [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
package.json [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
README.md [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
tsconfig.app.json [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
tsconfig.json [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
tsconfig.node.json [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00
vite.config.ts [feat] front: React + Vite + TypeScript 초기 셋업 2026-06-16 11:12:04 +09:00

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])