Package Exports
- pdp_figma_2_code_mcp
- pdp_figma_2_code_mcp/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pdp_figma_2_code_mcp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
pdp figma 2 code
- 1.修改版本 package.json
- 2.编译
pnpm build - 3.发布 npm publish
- 4.更新版本 npm install pdp_figma_2_code_mcp@latest
//mcp路径 { "mcpServers": { "Framelink Figma MCP": { "command": "npx", "args": [ "-y", "pdp_figma_2_code_mcp", "--techStack=kmp", "--colorCodePath=/Users/anker/Desktop/charging_code/charging-flutter/module/base/resource/lib/res/colors/color_config.dart", "--fontCodePath=/Users/anker/Desktop/charging_code/charging-flutter/module/base/resource/lib/res/styles.dart", "--fileDownloadDir=/Users/anker/Desktop/charging_code/charging-flutter/module/base/business/electricity_price/lib/assets/img", "--componentCodePath=/Users/anker/Desktop/charging_code/charging-flutter/module/base/base_service/lib/view", "--dataEnhancement=1", "--depth=8", "--stdio" ] } } }
测试地址 figma.com/design/IE2jalh3R75ddlpWHjhpNt/测试文档?node-id=0-1&p=f&t=30528CrqUF0fk7xm-0