xp-forge / frontend

Web frontends
1 stars 1 forks source link

Allow specifying template and fragment via `View::named()` #44

Closed thekid closed 11 months ago

thekid commented 11 months ago
// Fluent syntax
View::named('index')->fragment('inline');

// Shorthand of the above
View::named('index#inline');

See https://youtu.be/akd7u69k27k?t=1410