Install drupal theme with composer
- Go to the themes homepage to copy the the official composer command to run
1
cd yourprojectdir
Install with composer
1
composer require drupal/mayo
Enable the theme in the backend
- go to /admin/appearance
- enable and set as default in the admin
Clear cache with drush
You will probably see an error unless you clear the cache with drush
1
drush cr
Enable theme with drush (optional)
You cannot download and install themes with drush. However, you can set the theme as default
1
drush en mayo
This post is licensed under
CC BY 4.0
by the author.