Skip to content

Commit 5955295

Browse files
committed
update readme for 0.7.0
1 parent 21df5ca commit 5955295

1 file changed

Lines changed: 6 additions & 8 deletions

File tree

README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

5656
A 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

5959
We 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

Comments
 (0)