Node Packaged Modules

    generator-gio

    1.0.2 • Public • Published

    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

    Install

    npm i generator-gio

    DownloadsWeekly Downloads

    0

    Version

    1.0.2

    License

    Apache-2.0

    Unpacked Size

    17.5 kB

    Total Files

    12

    Last publish

    Collaborators

    • growingio