원클릭으로
convert-to-vite
Convert a standalone HTML game into a Vite project with proper module structure
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Convert a standalone HTML game into a Vite project with proper module structure
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Create app metadata, thumbnail, and offline configuration for the Puzzmo platform
Wire up game completion signaling to the Puzzmo host
Integrate the Puzzmo SDK into a Vite game project for host communication
Configure the Puzzmo CLI for uploading game builds
Edit the `integrations` block in puzzmo.json (leaderboards, notables, etc.) using live game context from the dev.puzzmo.com MCP
Add integrations to puzzmo.json with leaderboard configuration using deeds
| name | convert-to-vite |
| description | Convert a standalone HTML game into a Vite project with proper module structure |
Convert this HTML game into a Vite-powered project.
Initialize a new package.json with:
"name" based on the game directory name"private": true"type": "module""scripts": "dev": "vite", "build": "vite build", "preview": "vite preview"Install dependencies:
vite as a devDependencyCreate vite.config.ts:
import { defineConfig } from "vite"
export default defineConfig({})
Extract inline <script> and <style> from index.html:
src/main.js (or src/main.ts)src/style.css<script type="module" src="/src/main.js"></script> and <link rel="stylesheet" href="/src/style.css">Move any standalone JS/CSS files into src/
Update all asset references to use relative paths that Vite can resolve
Verify if you need to edit the .gitignore to exclude dist/ and other build artifacts like node_modules etc
npx vite build completes without errorsnpx vite as it did beforeindex.html (except small config objects)