generate_vite_config
Generate a production-ready Vite configuration with plugins, path aliases, proxy, env variables, and SSR support
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectName": "<projectName>",
"framework": "<framework>"
},
"name": "generate_vite_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| withPwa | No | Include vite-plugin-pwa | |
| withSsr | No | Include SSR build configuration | |
| framework | Yes | Frontend framework | |
| withProxy | No | Include dev server proxy for API | |
| projectName | Yes | Project name | |
| apiProxyTarget | No | API proxy target URL (e.g. http://localhost:3000) | |
| withPathAliases | No | Include @ path alias | |
| withVitestConfig | No | Include Vitest test configuration |