Commands
make:slidewire- Arguments and options
- Markdown decks
- Multi-file decks
- Interactive mode
- Overwrite existing files
make:slidewire
Use make:slidewire to generate a new presentation scaffold.
php artisan make:slidewire team/q1-kickoff --title="Q1 Kickoff"
By default, the generated file is written to the first configured presentation root and uses the package's Blade stub.
That stub is a Livewire single-file component with starter slides, so you can begin editing immediately.
Command signature:
make:slidewire
{name? : The presentation path, e.g. team/q1-kickoff}
{--presentation= : The presentation path override}
{--title= : The first slide title}
{--md : Create a standalone Markdown deck}
{--multi : Create a multi-file deck}
{--force : Overwrite existing files}
Arguments and options
name: optional presentation key such asteam/q1-kickoff--presentation=: explicit presentation key that overridesname--title=: title used in the starter presentation--md: create a standalone Markdown deck at{presentation}.md--multi: create a composed presentation directory with starter files--force: overwrite an existing presentation file
Markdown decks
If you want a content-first starting point, use the --md flag:
php artisan make:slidewire team/q1-kickoff --title="Q1 Kickoff" --md
This creates a standalone Markdown deck with starter frontmatter, slide separators, and a highlighted code example.
Multi-file decks
If you want to start with composition, use the --multi flag:
php artisan make:slidewire team/q1-kickoff --title="Q1 Kickoff" --multi
This creates a presentation directory with a deck.blade.php file, a Blade intro slide, and a Markdown slide part so you can start with a mixed-source deck.
--md and --multi are mutually exclusive. Use --md for a single Markdown file or --multi for a composed deck directory.
Interactive mode
If you run the command without a presentation name, SlideWire prompts for:
- the presentation path
- the presentation title
php artisan make:slidewire
Overwrite existing files
If the destination file or directory already exists, the command fails unless --force is supplied.
php artisan make:slidewire team/q1-kickoff --title="Q1 Kickoff" --force