How to configure an additional field for a bundle that is created by a custom module In Drupal 8 have a custom module for which bundles are created via yaml files in its config/install folder. I need to add an additional field to the 'schema.'

My steps were:


pm-uninstall the module
delete the content type via the ui
rebuild cache
add the new yaml file (a clone of an existing file with the field name changed)
re-enable the module


This gave me an unmet dependencies error.

If I remove the file and enable the module, the bundle is created, without the field of course.

I can create the field via the ui, but then its yaml file is not present in the install folder, so the module isn't deployable as-is.
You have to add the field via the UI.
Then you can export the yml config files required by the field by 


Using drush cex sync
Navigating to admin/config/development/configuration/single/export and export the changed/new files on admin/config/development/configuration manually.


Copy the new/changed files to your config/install folder and you are good to go