I have the following component
@Component(
selector: "main"
)
@View(
templateUrl: "package:angular2_example/components/main_component.html",
styleUrls: const ["package:angular2_example/components/main_component.css"]
)
class MainComponent{
}
and when i execute 'pub build' i get the following
[Info from Dart2JS]:
Compiling angular2_example|web/main.dart...
[Error from Dart2JS on angular2_example|web/main.dart]:
packages\angular2_example\components\main_component.css.shim.dart:5:28:
Can't find ']' to match '['.
\n}'];lor:red;YLES = const ['div[_ngcontent-%COMP%]{
^
[Error from Dart2JS on angular2_example|web/main.dart]:
packages\angular2_example\components\main_component.css.shim.dart:5:71:
Expected a declaration, but got '}'.
\n}'];lor:red;YLES = const ['div[_ngcontent-%COMP%]{
^
I have created an example here.
I also have tested it on a Ubuntu machine on which 'pub get' executed without any problems.
Dart VM versions on both machines is 1.13.0
I have the following component
and when i execute 'pub build' i get the following
I have created an example here.
I also have tested it on a Ubuntu machine on which 'pub get' executed without any problems.
Dart VM versions on both machines is 1.13.0