Skip to content

V4 -- Add --index option to component subgen #316

@sthzg

Description

@sthzg

Example

yo react-webpack:component common/modal/Modal --index
  • creates an index.js in common/modal that export defaults Modal
  • possibly refactors the generated display name from CommonModalModal to CommonModal

Will PR it as soon as possible / please comment if you have objections.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions