代码拉取完成,页面将自动刷新
(English/中文)
A very simple browser-like application to show the LCUI and LCUI Router features.
To clone and run this repository you'll need install the following tools on your computer:
npm install -g lcpkg
lcpkg setup
npm install -g @lcui/cli
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
npm start
Other useful commands:
# Build this repository in release mode
lcui build --mode release
# Build this repository with CMake
lcui build --tool cmake
# Compile css files
npm run build:css
src/lib/store.c
.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 a src/lib/router.c
file using the lcui 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 the app/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.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。