feat: T-023 프로젝트 환경설정 및 초기 세팅 완료 - Vite+TypeScript+React 환경구성, TailwindCSS+ShadCN UI 설정, ESLint+Prettier 설정, Zustand 스토어 구현, 기본 UI 레이아웃 완성, 환경설정 오류 수정

This commit is contained in:
sheetEasy AI Team
2025-06-19 17:16:00 +09:00
parent a2b09539c6
commit f288103e55
8 changed files with 1699 additions and 117 deletions

View File

@@ -1,11 +1,9 @@
import React from "react";
import { useAppStore } from "./stores/useAppStore";
import { Card, CardContent } from "./components/ui/card";
import { Button } from "./components/ui/button";
function App() {
const { isLoading, loadingMessage, currentFile, isAuthenticated } =
useAppStore();
const { isLoading, loadingMessage, currentFile } = useAppStore();
return (
<div className="min-h-screen bg-background">

View File

@@ -37,7 +37,7 @@ interface AppState {
setAuthenticated: (authenticated: boolean) => void;
setCurrentFile: (
file: { name: string; size: number; uploadedAt: Date } | null
file: { name: string; size: number; uploadedAt: Date } | null,
) => void;
setSheets: (sheets: SheetData[]) => void;
setActiveSheetId: (sheetId: string | null) => void;
@@ -70,7 +70,7 @@ const initialState = {
export const useAppStore = create<AppState>()(
devtools(
(set, get) => ({
(set) => ({
...initialState,
// 사용자 액션
@@ -118,6 +118,6 @@ export const useAppStore = create<AppState>()(
}),
{
name: "app-store",
}
)
},
),
);