Also, just to clarify, you can use any custom name rather than matching the name of the template. It's the command argument and --stateful option that determines which template will be used. E.g. yarn run scaffold component MyStatefulComponent --stateful will create a component named MyStatefulComponent with the statefulComponentTemplate, while yarn run scaffold model User will create User with the modelTemplate
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Also, just to clarify, you can use any custom name rather than matching the name of the template. It's the
command
argument and--stateful
option that determines which template will be used. E.g.yarn run scaffold component MyStatefulComponent --stateful
will create a component namedMyStatefulComponent
with thestatefulComponentTemplate
, whileyarn run scaffold model User
will createUser
with themodelTemplate