Use gulp examples/pub.serve to start up the server and go to http://localhost:8080/index_static.html to see the static app.
12 lines
424 B
Dart
12 lines
424 B
Dart
import 'package:examples/hello_world/app.dart' as HelloWorldApp;
|
|
import 'package:reflection/reflection_capabilities.dart';
|
|
import 'package:reflection/reflection.dart';
|
|
|
|
// TODO(rado): templatize and make reusable for all examples.
|
|
main() {
|
|
// enable mirrors and reflection.
|
|
// see static_app.js for an example of a static app.
|
|
reflector.reflectionCapabilities = new ReflectionCapabilities();
|
|
HelloWorldApp.main();
|
|
}
|