11![ image] ( https://user-images.githubusercontent.com/33346637/235085980-eb16eaa3-ec89-4293-9609-cf651a44f60e.png )
22
3- Spring ViewComponent allows you to create typesafe, reusable & encapsulated server rendered view components.
3+ Spring ViewComponent allows you to create typesafe, reusable & encapsulated server rendered ui components.
44
55##### Table of Contents
66- [ What’s a ViewComponent?] ( #whats-a-viewcomponent )
@@ -54,7 +54,7 @@ class SimpleViewComponent{
5454</details >
5555
5656A ViewComponent always need a corresponding HTML Template.
57- We define the Template in the SimpleViewComponent.[ html/jte/kte] in the same package as our ViewComponent Class .
57+ We define the Template in the SimpleViewComponent.[ html/jte/kte] in the same package as our ViewComponent class .
5858
5959We can use [ Thymeleaf] ( https://thymeleaf.org )
6060
@@ -80,14 +80,10 @@ or [KTE](https://jte.gg/#5-minutes-example)
8080 <div >${simpleView.helloWorld}</div >
8181</div >
8282```
83- [ Installation with Gradle] ( #gradle-installation )
84-
85- [ Thymeleaf Example] ( https://github.com/tschuehly/spring-view-component/tree/master/examples/thymeleaf-demo )
86- [ JTE Example] ( https://github.com/tschuehly/spring-view-component/tree/master/examples/jte-demo )
8783
8884## Render a ViewComponent
8985
90- We can then call the render method in our Controller
86+ We can then call the render method in our controller to render the template.
9187<details open >
9288 <summary>Java</summary>
9389
@@ -126,7 +122,7 @@ class SimpleController(
126122
127123## Examples
128124
129- If you want to get started right away you can find examples for all possibilites here:
125+ If you want to get started right away you can find examples for all possible language combinations here:
130126[ Examples] ( /examples/ )
131127
132128## Nesting ViewComponents:
@@ -388,6 +384,8 @@ annotationProcessor("de.tschuehly:spring-view-component-core:LATEST_VERSION")
388384
389385
390386
387+ # Experimental stuff:
388+
391389## Composing pages from components
392390
393391** !!! Currently only supported in Thymeleaf !!!**
0 commit comments