You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
4 years ago | |
---|---|---|
.. | ||
lib | 4 years ago | |
src | 4 years ago | |
.gitignore | 4 years ago | |
README.md | 4 years ago | |
package.json | 4 years ago | |
script.js | 4 years ago |
README.md
TIS 应用与组件 - 开发
快速开始
1. 安装依赖
npm install
2. 启动
npm run start
浏览器里打开 http://localhost:8000
3. 编码开发
修改src/widget_demo/ 和 src/app_demo/ 里的文件
可在浏览器里查看到实时修改结果
4. 构建打包
npm run build
构建产物在 dist/ 目录
常见问题
如何配置websocket server地址?
修改/lib/platform/dist/manifest.json
文件中wsUrl
字段,然后刷新浏览器即可生效。