内容简介:(A very simple browser-like application to show the LCUI and LCUI Router features.
lcui-router-app
( English / 中文 )
A very simple browser-like application to show the LCUI and LCUI Router features.
To Use
To clone and run this repository you'll need install the following tools on your computer:
From your command line:
# Clone this repository git clone https://github.com/lc-ui/lcui-router-app # Go into the repository cd lcui-router-app # Install NodeJS dependencies npm install # Install C/C++ dependencies for x64 CPU architecture lcpkg install --arch x64 # Run the app with debug mode lcpkg run start --mode debug
What's included
- Some resource files.
- Some scripts that make it easy for you to quickly build application.
- Configuration files for CMake and XMake build tools, You can choose one of them that you like.
- Simple data storage implementation in
src/lib/store.c
. - .scss files for describe the user interface style.
- Implementation of the browser's graphical interface.
- Welcome page, about page, file page, 404 page, new tab page.
- Example for the routing navigation of the LCUI Router .
- Examples of use of the LC Design component library.
Project Structure
-
app
: contains the resource files required for the application to run. You can use it as the working directory of the application, and when you publish your application, you only need to package the files in that directory. -
build
: contains build tool output files. -
config/router.js
: Configuration file for the LCUI Router, it can be compiled into asrc/lib/router.c
file using thelcui compile router
command. -
scripts
: contains build-related scripts and configuration files. -
src
: contains the source code.-
ui
: contains source code related to the user interface.-
stylesheets
: contains the source code of stylesheets. You can put .scss files here, they will be compiled into css files and outputed to theapp/assets/stylesheets
directory at build time. -
components
: contains the source code of the components. -
views
: contains the source code of the views.
-
-
lib
: contains the base library code.
-
License
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
学习JavaScript数据结构与算法(第2版)
[巴西] Loiane Groner / 邓 钢、孙晓博、吴 双、陈 迪、袁 源 / 人民邮电出版社 / 2017-9 / 49.00元
本书首先介绍了JavaScript 语言的基础知识以及ES6 和ES7 中引入的新功能,接下来讨论了数组、栈、队列、链表、集合、字典、散列表、树、图等数据结构,之后探讨了各种排序和搜索算法,包括冒泡排序、选择排序、插入排序、归并排序、快速排序、堆排序、计数排序、桶排序、基数排序、顺序搜索、二分搜索,然后介绍了动态规划和贪心算法等常用的高级算法以及函数式编程,最后还介绍了如何计算算法的复杂度。一起来看看 《学习JavaScript数据结构与算法(第2版)》 这本书的介绍吧!