Doric is a cross-platform development framework for Android & iOS & Web & Qt
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2021-09-07 16:13:49 +08:00
.github/workflows Update publish.yml 2021-01-28 14:34:20 +08:00
.vscode add .vscode setting 2020-10-23 16:04:34 +08:00
doric-android Android:fix ListItem cannot clip corner or draw shadow 2021-09-02 17:59:16 +08:00
doric-cli Update rollup config 2021-09-03 16:51:06 +08:00
doric-demo feat:change makeRef to createRef 2021-09-03 16:51:06 +08:00
doric-iOS iOS: fix quickly set image url caused image integrity error 2021-09-07 10:50:21 +08:00
doric-js feat:change makeRef to createRef 2021-09-03 16:51:06 +08:00
doric-Qt sync layout change 2021-08-05 21:23:21 +08:00
doric-web feat:change makeRef to createRef 2021-09-03 16:51:06 +08:00
.gitattributes treat zip as large files 2021-05-20 18:27:45 +08:00
.gitignore update script 2019-12-21 23:15:09 +08:00
.gitmodules add submodule 2021-05-20 18:27:45 +08:00
bundle.sh Update bundle.sh 2021-02-26 19:02:47 +08:00
DoricCore.podspec iOS:Remove dependency of YYCache,add support for YYCache,TMCache,or PINCache 2021-02-01 17:48:45 +08:00
DoricDevkit.podspec add RATreeView as source 2021-07-21 19:32:31 +08:00
LICENSE add apache-2.0 licence 2019-10-21 09:59:22 +08:00
publish-android-legacy.sh apply script change 2020-03-25 16:16:35 +08:00
publish.sh feat:update doric-cli default version 2021-02-26 18:54:13 +08:00
README.md Update README.md 2021-09-07 16:13:49 +08:00
setup.sh feat:update script 2021-03-02 18:30:28 +08:00

Doric

Doric是一套高性能的跨平台开发框架,使用TSX/TypeScript开发,一套代码可在不同平台展示出同样的页面.当前已支持Android、iOS、Qt等平台及WebComponent引入.

项目特色

跨平台

Doric目前已支持Android、iOS、Qt、Web,可通过一套代码在各平台展示一致的前端页面.

高性能

易扩展

高可用

灵活

快速使用

项目地址: https://doric.pub

示例代码

声明式UI

   vlayout(
       [
           image({
               imageUrl: 'https://doric.pub/logo.png'
           }),
           text({
               text: "Hello,Doric",
               textSize: 16,
           }),
       ],
       {
           layoutConfig: layoutConfig().fit().configAlignment(Gravity.Center),
           space: 20,
           gravity: Gravity.Center
       }
   ).in(root)

TSX写法 (v0.9.0以上支持)

<VLayout
      parent={root}
      layoutConfig={layoutConfig().fit().configAlignment(Gravity.Center)}
      space={20}
      gravity={Gravity.Center}
    >
      <Image imageUrl="https://doric.pub/logo.png" />
      <Text textSize={16}>Hello,Doric</Text>
</VLayout>

License

Apache License 2.0