2021-08-17
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/*
|
||||
* Examples for Java
|
||||
*
|
||||
* Copyright (c) 2021. Elex. All Rights Reserved.
|
||||
* https://www.elex-project.com/
|
||||
*/
|
||||
|
||||
package kr.pe.elex.examples;
|
||||
|
||||
public class MustacheSample {
|
||||
}
|
||||
18
mustache/src/main/java/kr/pe/elex/examples/Person.java
Normal file
18
mustache/src/main/java/kr/pe/elex/examples/Person.java
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Examples for Java
|
||||
*
|
||||
* Copyright (c) 2021. Elex. All Rights Reserved.
|
||||
* https://www.elex-project.com/
|
||||
*/
|
||||
|
||||
package kr.pe.elex.examples;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
public class Person {
|
||||
private String name;
|
||||
private int age;
|
||||
}
|
||||
2
mustache/src/main/resources/sample.mustache
Normal file
2
mustache/src/main/resources/sample.mustache
Normal file
@@ -0,0 +1,2 @@
|
||||
<h1>Sample Mustache</h1>
|
||||
<p>Hello, <span>{{person.name}}</span></p>
|
||||
Reference in New Issue
Block a user