You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: console/scaffolding.md
+5-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,13 @@ The following commands allow you to quickly scaffold additional code into your W
5
5
## Create a theme
6
6
7
7
```bash
8
-
php artisan create:theme <theme code>
8
+
php artisan create:theme <theme code> [scaffold]
9
9
```
10
10
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)
0 commit comments