๐Ÿ–ฅ ๋‚˜๋งŒ์˜ ํฌํŠธํด๋ฆฌ์˜ค ์›น์‚ฌ์ดํŠธ ๋งŒ๋“ค๊ธฐ

์กฐ์ค€ํ˜•ยท2025๋…„ 4์›” 18์ผ
0

ํฌํŠธํด๋ฆฌ์˜ค

๋ชฉ๋ก ๋ณด๊ธฐ
1/9

Part 1: ํ”„๋กœ์ ํŠธ ์ดˆ๊ธฐ ์„ธํŒ…

๐Ÿ˜Ž ๋ชฉํ‘œ

ํฌ๋ฆฌ์—์ดํ‹ฐ๋ธŒํ•˜๊ณ  ์ธํ„ฐ๋ž™ํ‹ฐ๋ธŒํ•œ ๊ฐœ์ธ ํฌํŠธํด๋ฆฌ์˜ค ์›น์‚ฌ์ดํŠธ๋ฅผ ๋งŒ๋“ค์–ด๋ณธ๋‹ค.
๋‹จ์ˆœํ•œ ์ด๋ ฅ์„œ ํŽ˜์ด์ง€๊ฐ€ ์•„๋‹Œ, ๊ธฐ์ˆ ๊ณผ ๊ฐ์„ฑ์„ ํ•จ๊ป˜ ๋ณด์—ฌ์ฃผ๋Š” ์›น์‚ฌ์ดํŠธ๋ฅผ ์ง€ํ–ฅํ•œ๋‹ค.

๐Ÿ”ง ์‚ฌ์šฉ ๊ธฐ์ˆ 

  • Vite + React + TypeScript

  • TailwindCSS (์ˆ˜๋™ ์„ธํŒ…)

  • Zustand (์ƒํƒœ ๊ด€๋ฆฌ)

  • styled-components

  • Framer Motion (์• ๋‹ˆ๋ฉ”์ด์…˜)

  • GitHub ์ปค๋ฐ‹ ๋ฉ”์‹œ์ง€ ์ปจ๋ฒค์…˜ ์ ์šฉ ([feat], [fix], [chore], ...)

1๏ธโƒฃ ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ

Vite ๊ณต์‹ ํ…œํ”Œ๋ฆฟ์œผ๋กœ ํ”„๋กœ์ ํŠธ๋ฅผ ์‹œ์ž‘ํ–ˆ๋‹ค.

npm create vite@latest my-portfolio -- --template react-ts
cd my-portfolio

2๏ธโƒฃ Tailwind ์ˆ˜๋™ ์„ค์ •

Tailwind ๊ด€๋ จ ํŒจํ‚ค์ง€๋ฅผ ์„ค์น˜ํ•œ๋‹ค:

npm install -D tailwindcss@latest postcss autoprefixer

๊ทธ ํ›„ ์„ค์ • ํŒŒ์ผ์„ ์ง์ ‘ ๋งŒ๋“ค์—ˆ๋‹ค:

/*tailwind.config.js*/

export default {
  content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
  theme: {
    extend: {
      colors: {
        neon: "#00ffff",
      },
    },
  },
  plugins: [],
};
/* postcss.config.js */

import tailwindcss from '@tailwindcss/postcss'
import autoprefixer from 'autoprefixer'

export default {
  plugins: [tailwindcss, autoprefixer],
}

3๏ธโƒฃ index.css ๊ตฌ์„ฑ

Tailwind ์ง€์‹œ์–ด๋Š” ๋ฐ˜๋“œ์‹œ ํŒŒ์ผ ์ตœ์ƒ๋‹จ์— ์œ„์น˜ํ•ด์•ผ ํ•œ๋‹ค.

@tailwind base;
@tailwind components;
@tailwind utilities;

/* custom CSS */
:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  color: rgba(255, 255, 255, 0.87);
  background-color: #0f0f0f;
}

4๏ธโƒฃ ์ปค๋ฐ‹ ์ปจ๋ฒค์…˜ ์„ค์ •

๊ฐœ์ธ ์ปค๋ฐ‹ ์ปจ๋ฒค์…˜์€ ์•„๋ž˜์™€ ๊ฐ™์ด ์ •ํ–ˆ๋‹ค:

ํƒ€์ž… ์„ค๋ช…
[feat] ๊ธฐ๋Šฅ ์ถ”๊ฐ€
[fix] ๋ฒ„๊ทธ ์ˆ˜์ •
[style] ์Šคํƒ€์ผ, ํฌ๋งท ์ˆ˜์ •
[chore] ์„ค์ •, ํ™˜๊ฒฝ ๊ตฌ์„ฑ
[docs] ๋ฌธ์„œ (README ๋“ฑ) ์ˆ˜์ •

์ฒซ ์ปค๋ฐ‹์€ ์ด๋ ‡๊ฒŒ ๋‚จ๊ฒผ๋‹ค:

git commit -m "[chore] Configure Vite + Tailwind + PostCSS setup"

โœ… ๋งˆ๋ฌด๋ฆฌ

์ด์ œ๋ถ€ํ„ฐ๋Š” ์„น์…˜์„ ํ•˜๋‚˜์”ฉ ๋งŒ๋“ค์–ด๊ฐ€๋ฉฐ ๊ฐœ๋ฐœ์„ ์ง„ํ–‰ํ•  ์˜ˆ์ •:

  • Header: ์ด๋ฆ„, ์ง๋ฌด, ์Šฌ๋กœ๊ฑด

  • About: ์†Œ๊ฐœ

  • Skills: ๊ธฐ์ˆ  ์Šคํƒ

  • Projects: ํ”„๋กœ์ ํŠธ ์†Œ๊ฐœ

  • Contact: ์—ฐ๋ฝ์ฒ˜, GitHub, Velog

๐Ÿ‘จโ€๐Ÿ’ป ๋‹ค์Œ ๊ธ€์—์„œ๋Š” Header ์„น์…˜์„ ๋งŒ๋“ค๊ณ  ์Šคํƒ€์ผ์„ ์ ์šฉํ•˜๋Š” ๊ณผ์ •์„ ๋‹ค๋ฃฐ ์˜ˆ์ •
๊ณ„์†ํ•ด์„œ ์ด ํฌํŠธํด๋ฆฌ์˜ค๊ฐ€ ์„ฑ์žฅํ•ด๊ฐ€๋Š” ๊ณผ์ •์„ ๊ธฐ๋กํ•ด๋ณด์ž!

profile
์ฝ”๋ฆฐ์ด

0๊ฐœ์˜ ๋Œ“๊ธ€