sd-webui-infinite-image-bro.../vue
zanllp 36e781677d feat: Support loading prompts from separate txt files, Correct i18n typos and improve translations 2023-06-28 05:13:20 +08:00
..
.vscode 使用fastapi和vue替代gradio,实现每2秒更新一次上传状态 2023-03-09 02:23:36 +08:00
dist feat: Support loading prompts from separate txt files, Correct i18n typos and improve translations 2023-06-28 05:13:20 +08:00
public Improve development experience by optimizing performance and enhancing usability 2023-06-03 01:32:37 +08:00
src feat: Support loading prompts from separate txt files, Correct i18n typos and improve translations 2023-06-28 05:13:20 +08:00
.eslintrc.cjs Improve development experience by optimizing performance and enhancing usability 2023-06-03 01:32:37 +08:00
.gitignore fix 2023-06-03 17:45:40 +08:00
.prettierrc.json 使用fastapi和vue替代gradio,实现每2秒更新一次上传状态 2023-03-09 02:23:36 +08:00
README.md feat: add support for opening folder via URL query params 2023-06-24 22:10:54 +08:00
build.ts feat: add support for opening folder via URL query params 2023-06-24 22:10:54 +08:00
components.d.ts Add image comparison feature similar to imgsli 2023-06-26 10:16:36 +08:00
env.d.ts 使用fastapi和vue替代gradio,实现每2秒更新一次上传状态 2023-03-09 02:23:36 +08:00
index.html Improve development experience by optimizing performance and enhancing usability 2023-06-03 01:32:37 +08:00
index.tpl.js Improved folder name display 2023-06-01 00:25:22 +08:00
package.json feat: add support for opening folder via URL query params 2023-06-24 22:10:54 +08:00
tsconfig.json Improve development experience by optimizing performance and enhancing usability 2023-06-03 01:32:37 +08:00
tsconfig.node.json Improve development experience by optimizing performance and enhancing usability 2023-06-03 01:32:37 +08:00
vite.config.ts 默认只显示图片和文件夹,删除图片是同时删除索引,完善i18n等 2023-04-25 01:52:41 +08:00
yarn.lock Improve development experience by optimizing performance and enhancing usability 2023-06-03 01:32:37 +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

Compile and Minify for Production, Deliver to Production Mode Resources

yarn build

Lint with ESLint

yarn lint