pug_dart 2.0.1 copy "pug_dart: ^2.0.1" to clipboard
pug_dart: ^2.0.1 copied to clipboard

Native Dart Pug template renderer with a safe expression engine.

example/pug_dart_example.dart

import 'package:pug_dart/pug_dart.dart' as pug;

Future<void> main() async {
  final html = await pug.render('p Hello #{name}', {'name': 'Dart'});
  print(html);
}
0
likes
150
points
184
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Native Dart Pug template renderer with a safe expression engine.

Repository (GitHub)
View/report issues

Topics

#templating #html #pug #server-side #templates

License

MIT (license)

Dependencies

path

More

Packages that depend on pug_dart