Open finnlewis opened 5 months ago
Our default install includes of LocalGov Microsites includes webform, but not the webform libraries.
This results in the error message on the site status page:
We could set this up in our project template to save devs having to do that as part of the setup.
Here's the documentation on how to add the libraries with the the composer merge plugin.
https://www.drupal.org/docs/8/modules/webform/webform-frequently-asked-questions/how-to-use-composer-to-install-libraries-for-the-webform-module
Basically:
composer require wikimedia/composer-merge-plugin
And add this to extras in composer.json:
"merge-plugin": { "include": [ "web/modules/contrib/webform/composer.libraries.json" ] }
Our default install includes of LocalGov Microsites includes webform, but not the webform libraries.
This results in the error message on the site status page:
We could set this up in our project template to save devs having to do that as part of the setup.
Here's the documentation on how to add the libraries with the the composer merge plugin.
https://www.drupal.org/docs/8/modules/webform/webform-frequently-asked-questions/how-to-use-composer-to-install-libraries-for-the-webform-module
Basically:
And add this to extras in composer.json: