Location#
Partials live in resources/views/partials:
<p>Hello world.</p>Use the file name as a capitalized component tag:
<Hello />hello.php becomes <Hello />.
Naming#
Use clear, small names for partial files:
header.phpbecomes<Header />footer.phpbecomes<Footer />post-card.phpbecomes<PostCard />language-switcher.phpbecomes<LanguageSwitcher />
Partial source files are still .php files, even when they are mostly HTML and TemplateX tags.