webgl: 新 app — 说需求→gemma 流式生成可交互 WebGL 小程序
左 sidebar 聊天说需求,右主区 运行/代码 两 tab。后端 SSE 流式把 gemma 生成的自包含纯原生 WebGL HTML 一段段回吐,前端实时显示代码、 写完丢进沙箱 iframe 跑。完全无状态(迭代靠前端回传 current_code)。 给儿子体验 WebGL。
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "webgl-studio",
|
||||
"private": true,
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vue-tsc -b && vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.5.13"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vitejs/plugin-vue": "^5.2.1",
|
||||
"typescript": "~5.7.2",
|
||||
"vite": "^6.0.5",
|
||||
"vue-tsc": "^2.2.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user