1.0.2 • Published 3 years ago

generator-gio v1.0.2

Weekly downloads
11
License
Apache-2.0
Repository
github
Last release
3 years ago

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:

$ npm install -g yo generator-gio

or using Yarn:

$ 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:

$ 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
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago