dart - In AngularDart, how should I reference my templates in templateUrl so they work for both Dartium and dart2js? -
i have directory layout: project web app.html main.dart templates app.html alerts.html menu.html components appcomponent.dart alertscomponent.dart menucomponent.dart resources css bootstrap.css my components like: @component( selector: 'app', templateurl: 'templates/app.html' ) class appcomponent { ... } my application's index.html (in project) served /client , , project/web served /project . above works in dartium, errors pub build : [warning _serial on project|web/main.dart input project|web/components/appcomponent.dart]: line 3, column 1 of web/components/appcomponent.dart: unable find templates/app.html @ project|templates/app.html @component( ^^^^^^^^^^^ and [warning _serial]: unable find webatara|web/main.dart html_files in pubspec.yaml. and [warning templatecachegenerator]: can't fin...