mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
e420e34ce2
#11986 Changes: - Added meta descriptions to Fleet documentation pages. --------- Co-authored-by: Rachael Shaw <r@rachael.wtf>
770 B
770 B
Automatically generating UI component boilerplate
Instead of manually creating each file, you can use
the generate
utility to automatically create the common boilerplate for a new Fleet UI component.
Basic steps
cd
intofleet/frontend/components
- Run
./generate -n NewComponentName
, replacingNewComponentName
with the desired name for your new component. - A directory and all boilerplate for the various files of the component will be generated in
fleet/frontend/components
You can also run ./generate -h
for information about the other options available, overwrite and
specifying destination.