Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 1.01 KB

README.md

File metadata and controls

16 lines (9 loc) · 1.01 KB

Example Drupal 9 setup with Lando

Important files and directories

/web

The web files are located in the /web subdirectory, this facilitates a Composer based workflow.

composer.json

This site is managed by Composer! All core and contrib modules are added to the project via composer.json and composer.lock keeps track of the exact version of each modules (or other dependency). Modules, and themes are placed in the correct directories thanks to the "installer-paths" section of composer.json. composer.json also includes instructions for drupal-scaffold which takes care of placing some individual files in the correct places like settings.pantheon.php.

Please see Updating Drupal core via Composer for additional instructions for updating.

Note that all NPM & Bower packages should be installed using composer via Asset Packagist.