UNPKG

1.1 kBMarkdownView Raw
1# @lendi/generator-create-lui-component
2
3A generator for creating a LUI component in LUI repo.
4
5## Installation
6
7```sh
8yarn global add yo @lendi/generator-create-lui-component@latest
9```
10
11> You need to have `nodejs` and `yarn` installed first.
12
13## Usage
14
15๐Ÿƒโ€โ™€๏ธ Run the generator:
16
17```bash
18yo @lendi/create-lui-component [directory]
19```
20
21> If you would like the files to be created in a different directory to your current working directory then you can specify the directory as an argument.
22
23๐Ÿ’ฌ Answer the questions:
24
25```
26
27 _-----_ โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
28 | | โ”‚ Welcome to the โ”‚
29 |--(o)--| โ”‚ create-lui-component โ”‚
30 `---------ยด โ”‚ generator! โ”‚
31 ( _ยดU`_ ) โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
32 /___A___\ /
33 | ~ |
34 __'.___.'__
35 ยด ` |ยฐ ยด Y `
36
37? Package name: (e.g. text-input) text-input
38
39```
40
41โฒ Wait for the files to be created and the dependencies to be installed.
42
43๐ŸŽ‰ DONE!