Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/growingio/gio-generator
GrowingIO Yeoman generator to help get you started.
https://github.com/growingio/gio-generator
Last synced: about 1 month ago
JSON representation
GrowingIO Yeoman generator to help get you started.
- Host: GitHub
- URL: https://github.com/growingio/gio-generator
- Owner: growingio
- License: apache-2.0
- Created: 2021-02-19T02:33:03.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-07T13:00:21.000Z (over 3 years ago)
- Last Synced: 2024-10-12T23:30:17.073Z (2 months ago)
- Language: JavaScript
- Size: 158 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
# GrowingIO Generator
We have written a Yeoman generator to help get you started. We plan to add templates for most react component types into this.
## Install the Generator
Install Yeoman and the GrowingIO generator:
```bash
$ npm install -g yo generator-gio
```or using Yarn:
```bash
$ yarn global add yo generator-gio
```## Run the Generator
The Yeoman generator will walk you through the steps required to create your component prompting for the required information.
To launch the generator simply type:
```bash
$ yo gio
? Your Component name Empty
? Your Component path src/components/
writing....
create src/components/empty/__tests__/Empty.test.tsx
create src/components/empty/Empty.tsx
create src/components/empty/index.ts
create src/components/empty/interfaces.ts
create src/components/empty/style/index.ts
create src/components/empty/style/index.less
create src/components/empty/Empty.stories.tsx
create src/components/empty/Empty.mdx
end
```