Update browser version; add more info about tools.

This commit is contained in:
Kathy Walrath 2015-06-01 15:41:41 -07:00
parent 22fcdb346f
commit 0bff66b9b6
1 changed files with 15 additions and 8 deletions

View File

@ -7,11 +7,18 @@
p. p.
These instructions assume that you already have the Dart SDK These instructions assume that you already have the
<a href="https://www.dartlang.org/downloads/">Dart SDK</a>
and any tools you like to use with Dart. and any tools you like to use with Dart.
If not, go If you don't have a favorite editor already, try
<a href="https://www.dartlang.org/downloads/">download Dart</a>. <a href="https://confluence.jetbrains.com/display/WI/Getting+started+with+Dart">WebStorm</a>,
Then return here. which comes with a Dart plugin.
You can also download
<a href="https://www.dartlang.org/tools/">Dart plugins for
other IDEs and editors</a>.
p.
Once you have the Dart SDK and any other tools you want, return here.
//- STEP 1 - Create a project ########################## //- STEP 1 - Create a project ##########################
.l-main-section .l-main-section
@ -38,7 +45,7 @@ p.
version: 0.0.1 version: 0.0.1
dependencies: dependencies:
angular2: 2.0.0-alpha.25 angular2: 2.0.0-alpha.25
browser: any browser: ^0.10.0+2
transformers: transformers:
- angular2: - angular2:
entry_points: web/main.dart entry_points: web/main.dart
@ -50,7 +57,6 @@ p.
code-example(language="sh"). code-example(language="sh").
&gt; <span class="blk">pub get</span> &gt; <span class="blk">pub get</span>
//- PENDING: browser: any -> ???
//- PENDING: Create template? Link to pub/pubspec docs? //- PENDING: Create template? Link to pub/pubspec docs?
@ -213,7 +219,8 @@ p.
One is to launch a local HTTP server One is to launch a local HTTP server
and then view the app in and then view the app in
<a href="https://www.dartlang.org/tools/dartium/">Dartium</a>. <a href="https://www.dartlang.org/tools/dartium/">Dartium</a>.
You can use whatever server you like, such as Python's SimpleHTTPServer. You can use whatever server you like, such as WebStorm's server
or Python's SimpleHTTPServer.
p. p.
Another option is to build and serve the app using <code>pub serve</code>, Another option is to build and serve the app using <code>pub serve</code>,
@ -267,7 +274,7 @@ p.
version: 0.0.1 version: 0.0.1
dependencies: dependencies:
angular2: 2.0.0-alpha.25 angular2: 2.0.0-alpha.25
browser: any browser: ^0.10.0+2
<span class="pnk">transformers: <span class="pnk">transformers:
- angular2: - angular2:
entry_points: web/main.dart</span> entry_points: web/main.dart</span>