Skip to content

Commit b88234b

Browse files
authored
Document scaffold option for create:theme
1 parent a9318af commit b88234b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

console/scaffolding.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ The following commands allow you to quickly scaffold additional code into your W
55
## Create a theme
66

77
```bash
8-
php artisan create:theme <theme code>
8+
php artisan create:theme <theme code> [scaffold]
99
```
1010

11-
The `create:theme` command generates a theme folder and basic files for the theme. The first argument specifies the theme code, eg. `myauthor-mytheme`.
11+
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:
12+
13+
- `tailwind`: (default) Creates an empty theme using [TailwindCSS](https://tailwindcss.com/) and [Vite](../console/asset-compilation-vite)
14+
- `less`: Creates an empty theme using LESS and the [Asset Compiler](../services/asset-compilation)
1215

1316
## Create a plugin
1417

0 commit comments

Comments
 (0)