Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
## ✏️ Summary
<!-- 관련 있는 Issue를 태그해주세요. (e.g. > - #1) -->
<!-- 해당 PR에 대한 작업 내용을 요약하여 작성해주세요. -->
- close #
> 관련 있는 Issue를 태그해주세요. (e.g. > - #1)

<!-- 해당 PR에 대한 작업 내용을 요약하여 작성해주세요. -->

## 📑 Tasks
-
<!-- 해당 PR에 수행한 작업을 작성해주세요. -->
-


## 👀 To Reviewer
-
<!-- 리뷰어에게 요청하는 내용을 작성해주세요. -->
-

## 📸 Screenshot
<!-- 작업한 내용에 대한 스크린샷을 첨부해주세요. -->
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: auto-assign-author-and-reviewer
if: github.event_name == 'pull_request'&&github.event.action=='opened'
if: github.event_name == 'pull_request' && github.event.action == 'opened'
uses: hkusu/review-assign-action@v1
with:
assignees: ${{github.actor}} # 담당자 설정
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script type="module" src="/src/app/main.tsx"></script>
</body>
</html>
4 changes: 3 additions & 1 deletion src/App.tsx → src/app/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { HomePage } from "@/pages/home/home-page";

const App = () => {
return (
<>
<p>컴핏 화이팅</p>
<HomePage />
</>
);
};
Expand Down
Empty file added src/app/layout/.gitkeep
Empty file.
2 changes: 1 addition & 1 deletion src/main.tsx → src/app/main.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import App from "./App.tsx";
import App from "@app/App";

createRoot(document.getElementById("root")!).render(
<StrictMode>
Expand Down
Empty file added src/app/providers/.gitkeep
Empty file.
Empty file added src/app/routes/.gitkeep
Empty file.
Empty file added src/app/styles/.gitkeep
Empty file.
Empty file added src/features/bookmark/.gitkeep
Empty file.
Empty file.
Empty file.
Empty file added src/features/home/.gitkeep
Empty file.
Empty file added src/features/login/.gitkeep
Empty file.
Empty file added src/features/my-page/.gitkeep
Empty file.
Empty file.
Empty file added src/features/register/.gitkeep
Empty file.
Empty file added src/pages/bookmark/.gitkeep
Empty file.
Empty file.
Empty file added src/pages/experience/.gitkeep
Empty file.
Empty file added src/pages/home/home-page.css.ts
Empty file.
12 changes: 12 additions & 0 deletions src/pages/home/home-page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import KERORO from "@images/comfit_web_status.jpg";

const HomePage = () => {
return (
<div>
<h1>Welcome to the Home Page</h1>
<img src={KERORO} alt="Keroro" />
</div>
);
};

export { HomePage };
Empty file added src/pages/login/.gitkeep
Empty file.
Empty file added src/pages/my-page/.gitkeep
Empty file.
Empty file added src/pages/onboarding/.gitkeep
Empty file.
Empty file added src/pages/register/.gitkeep
Empty file.
Empty file.
Binary file added src/shared/assets/images/comfit_web_status.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file added src/shared/lib/.gitkeep
Empty file.
Empty file added src/shared/model/.gitkeep
Empty file.
Empty file added src/shared/styles/.gitkeep
Empty file.
Empty file.
Empty file added src/shared/types/.gitkeep
Empty file.
Empty file added src/widgets/header/ui/.gitkeep
Empty file.
22 changes: 21 additions & 1 deletion tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,27 @@
"noUnusedParameters": true,
"erasableSyntaxOnly": true,
"noFallthroughCasesInSwitch": true,
"noUncheckedSideEffectImports": true
"noUncheckedSideEffectImports": true,

/* Path Alias*/
"baseUrl": ".",
"paths": {
"@/*": ["src/*"],
"@app/*": ["src/app/*"],
"@pages/*": ["src/pages/*"],
"@widgets/*": ["src/widgets/*"],
"@features/*": ["src/features/*"],
"@shared/*": ["src/shared/*"],
"@images/*": ["src/shared/assets/images/*"],
"@icons/*": ["src/shared/assets/icons/*"],
"@api/*": ["src/shared/api/*"],
"@config/*": ["src/shared/config/*"],
"@lib/*": ["src/shared/lib/*"],
"@model/*": ["src/shared/model/*"],
"@styles/*": ["src/shared/styles/*"],
"@types/*": ["src/shared/types/*"],
"@ui/*": ["src/shared/ui/*"]
}
},
"include": ["src"]
}
26 changes: 23 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,27 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
import path from "path";

// https://vite.dev/config/
export default defineConfig({
plugins: [react()],
})
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
"@app": path.resolve(__dirname, "./src/app"),
"@pages": path.resolve(__dirname, "./src/pages"),
"@widgets": path.resolve(__dirname, "./src/widgets"),
"@features": path.resolve(__dirname, "./src/features"),
"@shared": path.resolve(__dirname, "./src/shared"),
"@images": path.resolve(__dirname, "./src/shared/assets/images"),
"@icons": path.resolve(__dirname, "./src/shared/assets/icons"),
"@api": path.resolve(__dirname, "./src/shared/api"),
"@config": path.resolve(__dirname, "./src/shared/config"),
"@model": path.resolve(__dirname, "./src/shared/model"),
"@styles": path.resolve(__dirname, "./src/shared/styles"),
"@types": path.resolve(__dirname, "./src/shared/types"),
"@ui": path.resolve(__dirname, "./src/shared/ui"),
"@lib": path.resolve(__dirname, "./src/shared/lib"),
},
},
});