Sen descrición

송용우 6cfc0067c1 게시판 데이터 연동 hai 2 meses
app 6cfc0067c1 게시판 데이터 연동 hai 2 meses
public c4c3342d02 반응형 진행중 hai 2 meses
server 485127072b first commit hai 2 meses
.env.example 485127072b first commit hai 2 meses
.gitignore 485127072b first commit hai 2 meses
.htaccess 6cfc0067c1 게시판 데이터 연동 hai 2 meses
README.md 42286d6e3b + axios 미들웨어 형태로 교체하여 모듈화 hai 2 meses
nuxt.config.ts 6cfc0067c1 게시판 데이터 연동 hai 2 meses
package-lock.json 6cfc0067c1 게시판 데이터 연동 hai 2 meses
package.json 4b9b53c271 + sass 모듈 및 설정 업로드 hai 2 meses
pnpm-lock.yaml 485127072b first commit hai 2 meses
sh.exe.stackdump 485127072b first commit hai 2 meses
tsconfig.json 485127072b first commit hai 2 meses

README.md

Nuxt Minimal Starter

Look at the Nuxt documentation to learn more.

axios 호출 방식

// GET 요청
const data = await $api.get('/api/endpoint', { param1: 'value1' })

// POST 요청 (JSON)
const result = await $api.post('/api/endpoint', { data: 'value' })

// POST 요청 (FormData)
const result = await $api.postForm('/board_proc', formData)

// PUT 요청
const result = await $api.put('/api/endpoint', { data: 'value' })

// DELETE 요청
const result = await $api.delete('/api/endpoint', { id: 123 })

Setup

Make sure to install dependencies:

# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.