sd-webui-infinite-image-bro.../vue
zanllp 83cc053232 发送和接受路径均支持占位符 2023-03-12 21:57:11 +08:00
..
.vscode 使用fastapi和vue替代gradio,实现每2秒更新一次上传状态 2023-03-09 02:23:36 +08:00
dist 发送和接受路径均支持占位符 2023-03-12 21:57:11 +08:00
src 发送和接受路径均支持占位符 2023-03-12 21:57:11 +08:00
.eslintrc.cjs 使用fastapi和vue替代gradio,实现每2秒更新一次上传状态 2023-03-09 02:23:36 +08:00
.prettierrc.json 使用fastapi和vue替代gradio,实现每2秒更新一次上传状态 2023-03-09 02:23:36 +08:00
README.md 使用fastapi和vue替代gradio,实现每2秒更新一次上传状态 2023-03-09 02:23:36 +08:00
build.ts 布局调整,直接使用vue3-ts-util 2023-03-11 21:33:39 +08:00
components.d.ts 支持控制轮询间隔 2023-03-12 20:46:03 +08:00
env.d.ts 使用fastapi和vue替代gradio,实现每2秒更新一次上传状态 2023-03-09 02:23:36 +08:00
index.html 使用fastapi和vue替代gradio,实现每2秒更新一次上传状态 2023-03-09 02:23:36 +08:00
index.tpl.js 布局调整,直接使用vue3-ts-util 2023-03-11 21:33:39 +08:00
package.json 增加移除任务,复制任务,查看详细日志 2023-03-12 17:30:50 +08:00
tsconfig.json 页面重启时自动还原还在进行的上传任务 2023-03-11 23:39:18 +08:00
tsconfig.node.json 前端编译脚本,进度条实现。后端支持从log生成结构化信息 2023-03-10 02:11:43 +08:00
vite.config.ts 支持多任务并行,支持传入本地和远程地址,支持下载 2023-03-12 06:10:44 +08:00
yarn.lock 支持多任务并行,支持传入本地和远程地址,支持下载 2023-03-12 06:10:44 +08:00

README.md

vue

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.

Customize configuration

See Vite Configuration Reference.

Project Setup

yarn

Compile and Hot-Reload for Development

yarn dev

Type-Check, Compile and Minify for Production

yarn build

Lint with ESLint

yarn lint