Use Jael in example 1
This commit is contained in:
parent
f34f28bb7b
commit
456221df6c
1 changed files with 2 additions and 2 deletions
|
@ -2,10 +2,10 @@ import 'package:jael_web/jael_web.dart';
|
||||||
import 'package:jael_web/elements.dart';
|
import 'package:jael_web/elements.dart';
|
||||||
part 'main.g.dart';
|
part 'main.g.dart';
|
||||||
|
|
||||||
@Dsx(template: '''
|
@Jael(template: '''
|
||||||
<div>
|
<div>
|
||||||
<h1>Hello, Jael!</h1>
|
<h1>Hello, Jael!</h1>
|
||||||
<i>Current time: {now}</i>
|
<i>Current time: {{now}}</i>
|
||||||
</div>
|
</div>
|
||||||
''')
|
''')
|
||||||
class Hello extends Component with _HelloJaelTemplate {
|
class Hello extends Component with _HelloJaelTemplate {
|
||||||
|
|
Loading…
Reference in a new issue