Create a new D10 project which uses Dart SASS
Create a fresh Drupal project, using any option you prefer:
Download Drupal 10 directly: https://www.drupal.org/project/drupal/releases/10.0.0
Use Composer https://www.drupal.org/docs/develop/using-composer/manage-dependencies
If you have composer globally:
composer create-project drupal/recommended-project my_site_name_dir
Change
my_site_name_dir
to an appropriate name for your project.
Via Docker -
docker run --rm -i --tty -v $PWD:/app composer create-project drupal/recommended-project my_site_name_dir --ignore-platform-reqs
Create a new, custom Drupal Theme.
Run this command from your project’s root:
php core/scripts/drupal generate-theme my_new_theme
Change
my_new_theme
to an appropriate name for your project.
Otherwise, download or create your own theme from scratch.
Update composer.json file, in project root.
Ensure to include
drush
if you would like to use it -"drush/drush": "^11.4"
. You can also runcomposer require drush/drush
Create a Lando, or DDev project.
Start the project.
Additional, helpful links: