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: src/Web/Documentation/content/1.x/4-internals/03-view-spec.md
+15-16Lines changed: 15 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
-
title: Tempest View spec
3
-
description: Technical specification for Tempest View, to be used for static analysis and IDE integration
2
+
title: View specifications
3
+
description: Read the technical specifications for Tempest View, our templating language.
4
4
---
5
5
6
6
Tempest View is a server-side templating engine powered by PHP. Most of its syntax is inspired by [Vue.js](https://vuejs.org/). Tempest View aims to stay as close as possible to HTML, using PHP where needed. All syntax builds on top of HTML and PHP so that developers don't need to learn any new syntax.
@@ -412,7 +412,7 @@ $title = 'foo';
412
412
<!-- $title will need to be passed in explicitly,
413
413
otherwise `x-post` wouldn't know about it: -->
414
414
415
-
<x-post:title="$title"></x-post>
415
+
<x-post:title="$title"></x-post>
416
416
```
417
417
418
418
```php
@@ -428,7 +428,6 @@ final class HomeController
428
428
```
429
429
430
430
```html x-base.view.php
431
-
432
431
<h1>{{ $siteTitle }}</h1>
433
432
```
434
433
@@ -444,17 +443,17 @@ All meta-data about discovered view components can be retrieved via the hidden `
0 commit comments