Use Jael in example 1

This commit is contained in:
Tobe O 2019-03-23 14:50:01 -04:00
parent f34f28bb7b
commit 456221df6c

View file

@ -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 {