Loading...
Loading...
Use when the user has UI screenshots or design exports that need batch conversion into Vue 3 components, especially with Vant, Element Plus, or Ant Design Vue.
npx skill4agent add affaan-m/everything-claude-code ui-to-vuescreenshots/
|-- HomePage/
| |-- List/
| | |-- HomePage-List-Default@3x.png
| | `-- cut-images/
| |-- cut-images/
| `-- HomePage-Default@3x.png
`-- cut-images/assetsiconsspritescutimagescut-imagesnpxexport DASHSCOPE_API_KEY=your_key
npx ui-to-vue-converter@1.0.2 --input ./screenshots --ui vant --output ./srcnpx ui-to-vue-converter@1.0.2 --input ./designs --ui element-plus --output ./src
npx ui-to-vue-converter@1.0.2 --input ./designs --ui antd-vue --output ./srcui-to-vuenpm install -g ui-to-vue-converter@1.0.2
ui-to-vue --input ./screenshots --ui vant --output ./src| Option | Description | Default |
|---|---|---|
| Design image directory | |
| UI library: | |
| Output directory | |
| Config file path | |
export DASHSCOPE_API_KEY=your_key{
"apiKey": "your_dashscope_key",
"input": "./designs",
"ui": "vant",
"output": "./src"
}.ui-to-vue.config.json@latest.ui-to-vue.config.jsonviews/components/| Issue | Check |
|---|---|
| Confirm |
| Use the |
| Cut images are ignored | Confirm the asset directory name is supported and nested under the matching page or module. |
| Components ignore the requested UI library | Re-run with an explicit |
| Generated layout dimensions look wrong | Confirm the screenshot export width matches the target library baseline. |
ui-to-vue-converter