# sinoform-plugins-web-component-examples **Repository Path**: sinoui/sinoform-plugins-web-component-examples ## Basic Information - **Project Name**: sinoform-plugins-web-component-examples - **Description**: 智能表单插件Web Component开发示例项目 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-09-01 - **Last Updated**: 2024-05-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # sinoform-plugins-web-component-examples 智能表单插件 Web Component 开发示例项目。 请查看[插件开发教程](https://sinoui.gitee.io/intellisense-form-website/docs/guide-hello),了解插件开发过程。 ## 开发与部署 ### 启动本地项目 ```bash yarn start ``` ### 打包项目 ```bash yarn build ``` ## 内部开发 对于智能表单内部开发,需要与本地智能表单项目联调时,可以在项目根目录下创建 `.dev.json` 文件,然后放入下面的内容: ```json { "useLocalModules": true } ``` ## 本地调试 在智能表单中调试本地插件代码: ```typescript localStorage.setItem( "sinoform-preview-plugins", JSON.stringify([ { url: "http://localhost:8090/extend.js", name: "sinoformPluginsWebComponentExamples", }, ]) ); ``` 移除调试: ```typescript localStorage.removeItem("sinoform-preview-plugins"); ```