# airoot-uisys **Repository Path**: uucckk/AIroot-UISYS ## Basic Information - **Project Name**: airoot-uisys - **Description**: 精简的WEB前端模块化工具,UI 引擎可以充分的发挥HTML“语义化”的思想,把开发人员的思想有效的转化为代码。 - **Primary Language**: Go - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: http://www.airoot.cn/ - **GVP Project**: No ## Statistics - **Stars**: 39 - **Forks**: 3 - **Created**: 2019-07-10 - **Last Updated**: 2021-10-09 ## Categories & Tags **Categories**: webui **Tags**: None ## README # AIroot UISYS [www.airoot.cn](http://www.airoot.cn/) > A powerful web ui tool, so we call it uisys! ## For example ~~~html <@pub/> <@define name="MyBox">
Hello Baby!
~~~ ## How to run it? > 1. You need to use uisys, [download](https://github.com/uucckk/airoot-uisys/releases) > 2. Then save the above file to D:\test\index.ui > 3. Finally, run uisys.exe, and enter the following command in the terminal: ~~~linux pub D:\test\ :90 ~~~ > OK, open Chrome / Firefox and type http://localhost:90/index.ui > you can see double **"Hello Baby!"** in your broswer. ## Other examples > You can also use JavaScript as follows: ~~~html <@pub/> <@define name="MyBox">
Hello Baby!
~~~ > mybe ... ~~~html <@pub/> <@define name="MyBox">
Hello Baby!
~~~ > If you want the **MyBox** module to be a file, you can save it, for example: > Create the file **MyBox.ui**, and the code is as follows: ~~~html
Hello Baby!
~~~ > Then create the file **Index.ui** with the following code: ~~~html <@pub/>
~~~ > open the browser to see the results, > You can still see double "**Hello Baby!**" words. ## use package > If you want to put files in a folder, you can do this: > For example, take the **D:\test\MyBox.ui** move to **D:\test\mymod\mybox.ui**. > Then **Index.ui** import **MyBox.ui** should be changed to the following code: ~~~html <@pub/>
~~~ > Or it can be imported globally: ~~~html <@pub/> <@import value="mymod.MyBox" />
~~~ > open the browser to see the results, > You can still see double "**Hello Baby!**" words.