How to use Dart with Webstorm 6 on Windows (running Codelab from Google IO 2013) How to use Dart with Webstorm 6 on Windows (running Codelab from Google IO 2013) dart dart

How to use Dart with Webstorm 6 on Windows (running Codelab from Google IO 2013)


Thanks to @ChrisBuckett and @PixelElephant my question was answered. In order to get the Codelab from Google IO 2013, Step 1, to run I had to include "library build;" at the top of my build.dart file. In order to see the post-build output, I had to look in the /out folder and "run" the index.html file in Chromium.

This combination worked.

My fixed build.dart file:

library build;import 'package:web_ui/component_build.dart';import 'dart:io';import 'dart:async';void main() {  var args = new List.from(new Options().arguments);  build(args, ['web/index.html'])    .then((_) => print('Build finished!'));}