Skip to content
Command line interface for rapid LCUI development
JavaScript C CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
generators fix(generator): correct template code Oct 6, 2019
test test: update error handling Sep 29, 2019
.gitignore chore: update .gitignore Sep 29, 2019
.travis.yml ci: add travis config Sep 29, 2019
LICENSE Initial commit Sep 28, 2019 docs: add langauge switch Sep 29, 2019 docs: add langauge switch Sep 29, 2019
package-lock.json chore: add commitlint Sep 29, 2019
package.json chore: add commitlint Sep 29, 2019




LCUI CLI is command line interface for rapid LCUI development. providing:

  • Mininal LCUI project template
  • Generator for components and views
  • Internationalization (i18n)

Quick start

Before using this tool, you need install the following tools on your computer:

To install the new package, use one of the following commands. You need administrator privileges to execute these unless npm was installed on your system through a Node.js version manager (e.g. n or nvm).

npm install -g @lcui/cli
# OR
yarn global add @lcui/cli

Create a project:

lcui create my-project

Go into project directory and run it:

cd my-project
npm run start

If you are ready to develop an LCUI application, you can try the following commands:

# Create a component (widget)
lcui generate widget MyWidget

# Create a view
lcui generate view MyView

# Create a internationalization (i18n) config file
lcui generate i18n i18n

# Compile i18n config file to C code. (default compile config/i18n.js to src/lib/i18n.c and src/lib/i18n.h)
lcui ci18n



You can’t perform that action at this time.