@lcui/cli
Command line interface for rapid LCUI development
Last updated 3 months ago by lc-soft .
MIT · Original npm · Tarball · package.json
$ cnpm install @lcui/cli 
SYNC missed versions from official npm registry.

lcui-cli

GitHub Actions Build Status

Introduction

(English/中文)

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

License

MIT

Current Tags

  • 0.2.0                                ...           latest (3 months ago)

2 Versions

  • 0.2.0                                ...           3 months ago
  • 0.1.0                                ...           8 months ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 3
Last Month 7
Dependencies (10)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |