From b88234b236ca1f552e08ba8e1b07ad6d44fc75cb Mon Sep 17 00:00:00 2001 From: Luke Towers Date: Wed, 30 Oct 2024 17:00:22 -0600 Subject: [PATCH] Document scaffold option for create:theme --- console/scaffolding.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/console/scaffolding.md b/console/scaffolding.md index fcad1153..7a43808c 100644 --- a/console/scaffolding.md +++ b/console/scaffolding.md @@ -5,10 +5,13 @@ The following commands allow you to quickly scaffold additional code into your W ## Create a theme ```bash -php artisan create:theme +php artisan create:theme [scaffold] ``` -The `create:theme` command generates a theme folder and basic files for the theme. The first argument specifies the theme code, eg. `myauthor-mytheme`. +The `create:theme` command generates a theme folder and basic files for the theme. The first argument specifies the theme code, eg. `myauthor-mytheme`. The second argument (`[scaffold]`) is optional and allows you to choose a base theme to start from: + +- `tailwind`: (default) Creates an empty theme using [TailwindCSS](https://tailwindcss.com/) and [Vite](../console/asset-compilation-vite) +- `less`: Creates an empty theme using LESS and the [Asset Compiler](../services/asset-compilation) ## Create a plugin