Socket
Book a DemoInstallSign in
Socket

lcap-ide-server-proxy

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lcap-ide-server-proxy

使用 serviceworker 做代理服务,本地工程通过本命令启动,提供静态资源和 websocket 服务。

latest
npmnpm
Version
0.1.3-beta
Version published
Weekly downloads
11
57.14%
Maintainers
1
Weekly downloads
 
Created
Source

LCAP-IDE 服务端代理工程V2

使用 serviceworker 做代理服务,本地工程通过本命令启动,提供静态资源和 websocket 服务。

变量包括:

环境变量说明示例
IDE_VERSION设计器版本3.13.2
PLATFORM_URL平台地址https://cstest.lcap.codewave-test.163yun.com/
LIB_PATH扩展组件库本地地址/path/to/your/lib
LIB_TYPEpc or h5pc
LIB_FRAMEWORK_KIND基础框架(vue2, vue2, react)vue2

PLATFORM_URL=https://cstest.lcap.codewave-test.163yun.com/ LIB_PATH=/path/to/your/lib

npx lcap-ide-server-proxy --PLATFORM_URL=https://cstest.lcap.codewave-test.163yun.com/ --LIB_PATH=/path/to/your/lib

服务运行在 http://localhost:3000

预览地址: https://{平台地址}/designer/uidev?appId=demo&branch=feature-uidev3142&IDE_VERSION=3.13.2&LIB_TYPE=pc&LIB_FRAMEWORK_KIND=vue2&LIB_SERVICE=http://localhost:3000/

FAQs

Package last updated on 19 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts