tis-cli前端项目快速搭建命令行工具
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.
 
 
 
 
 
lkh fae5266192 feat: update 4 years ago
..
lib feat: add template 4 years ago
src feat: add template 4 years ago
.gitignore feat: add template 4 years ago
README.md feat: add template 4 years ago
package.json feat: add template 4 years ago
script.js feat: add template 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字段,然后刷新浏览器即可生效。