Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
| 29 | 30 | 31 |
Tags
- vscode
- 시작하기
- podman
- 절대경로
- Ollama
- cli
- FileChannel
- Java
- RandomAccessFile
- qwen3-coder-next
- PowerShell
- Docker Compose
- Webpack
- Vite
- React
- io
- Rust
- Typescript
- Format
- docker
- getting started
- glm-ocr
- dockerfile
- Thinking Mode
- html canvas
- podman compose
- .dockerignore
- tauri
- vim
- curl
Archives
- Today
- Total
워로디스
Vite8 + Tauri 프로젝트 구성 본문
1. vite 프로젝트 구성
npm create vite@latest
> npx
> create-vite
│
◇ Project name:
│ test-app
│
◇ Select a framework:
│ React
│
◇ Select a variant:
│ TypeScript + React Compiler
│
◇ Install with npm and start now?
│ Yes
│
◇ Scaffolding project in N:\workspace\projects\pv2\test-app...
│
◇ Installing dependencies with npm...
added 178 packages, and audited 179 packages in 6s
49 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
│
◇ Starting dev server...
> test-app@0.0.0 dev
> vite
VITE v8.0.1 ready in 2454 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
참고
2. tauri 적용
적용
cd .\test-app\
npm install -D @tauri-apps/cli@latest
npx tauri init
✔ What is your app name? · test-app
✔ What should the window title be? · test-app
✔ Where are your web assets (HTML/CSS/JS) located, relative to the "<current dir>/src-tauri/tauri.conf.json" file that will be created? · ../dist
✔ What is the url of your dev server? · http://localhost:5173
✔ What is your frontend dev command? · npm run dev
✔ What is your frontend build command? · npm run build
실행
npx tauri dev
빌드
src_tauri/tauri.conf.json의 identifier 항목 값을 변경한 후
npx tauri build
참고
'정리 > Tauri' 카테고리의 다른 글
| Tauri 시작하기 (Typescript + Vite + React) (0) | 2026.02.24 |
|---|
