|
|
hace 2 meses | |
|---|---|---|
| app | hace 2 meses | |
| public | hace 2 meses | |
| server | hace 2 meses | |
| .env.example | hace 2 meses | |
| .gitignore | hace 2 meses | |
| .htaccess | hace 2 meses | |
| README.md | hace 2 meses | |
| nuxt.config.ts | hace 2 meses | |
| package-lock.json | hace 2 meses | |
| package.json | hace 2 meses | |
| pnpm-lock.yaml | hace 2 meses | |
| sh.exe.stackdump | hace 2 meses | |
| tsconfig.json | hace 2 meses |
Look at the Nuxt documentation to learn more.
// 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 })
Make sure to install dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Start the development server on http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm dev
# yarn
yarn dev
# bun
bun run dev
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.