为了不便大家疾速体验和理解CabloyJS的格调和个性,全新部署了一套演示站点。对于首次接触CabloyJS的开发者,不必下载新建我的项目,就能够间接体验CabloyJS了。欢送大家拍砖
为何当初才推出
- 为了提供更好的性能,
演示站点
须要在生产环境
部署运行,而生成环境
不宜蕴含测试模块
- CabloyJS新版减少了
禁用模块
的机制,从而容许咱们灵便管制是否须要禁止某些模块的加载和运行 - 在默认状况下,
生产环境
中测试模块
都是禁用的,能够通过批改如下配置项,从而为演示目标而放开
{project}/src/backend/config/config.prod.js
// disabledModules config.disabledModules = [ // 'test-dingtalk', // 'test-flow', // 'test-hostsimple', // 'test-localeone', // 'test-localetwo', // 'test-party', // 'test-partymonkey', // 'test-wechat', // 'test-wxwork', ]; // modules config.modules = { 'a-base': { configFront: { demo: { enable: true, }, }, }, };
名称 | 阐明 |
---|
disabledModules | 指定哪些模块被禁止加载 |
configFront.demo.enable | 开启演示模式,从而某些零碎性能在演示模式下容许查看、禁止批改 |
在线演示
场景 | 链接/二维码 |
---|
PC端 | https://test.cabloy.com/ |
Mobile端 | |
账号类型 | 名称 | 明码 |
---|
管理员 | admin | 123456 |
普通用户 | tom | 123456 |
普通用户 | jane | 123456 |
相干链接
- 官网: https://cabloy.com/
- GitHub: https://github.com/zhennann/cabloy