Update browser version; add more info about tools.
This commit is contained in:
parent
22fcdb346f
commit
0bff66b9b6
|
@ -7,11 +7,18 @@
|
|||
|
||||
|
||||
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.
|
||||
If not, go
|
||||
<a href="https://www.dartlang.org/downloads/">download Dart</a>.
|
||||
Then return here.
|
||||
If you don't have a favorite editor already, try
|
||||
<a href="https://confluence.jetbrains.com/display/WI/Getting+started+with+Dart">WebStorm</a>,
|
||||
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 ##########################
|
||||
.l-main-section
|
||||
|
@ -38,7 +45,7 @@ p.
|
|||
version: 0.0.1
|
||||
dependencies:
|
||||
angular2: 2.0.0-alpha.25
|
||||
browser: any
|
||||
browser: ^0.10.0+2
|
||||
transformers:
|
||||
- angular2:
|
||||
entry_points: web/main.dart
|
||||
|
@ -50,7 +57,6 @@ p.
|
|||
code-example(language="sh").
|
||||
> <span class="blk">pub get</span>
|
||||
|
||||
//- PENDING: browser: any -> ???
|
||||
//- PENDING: Create template? Link to pub/pubspec docs?
|
||||
|
||||
|
||||
|
@ -213,7 +219,8 @@ p.
|
|||
One is to launch a local HTTP server
|
||||
and then view the app in
|
||||
<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.
|
||||
Another option is to build and serve the app using <code>pub serve</code>,
|
||||
|
@ -267,7 +274,7 @@ p.
|
|||
version: 0.0.1
|
||||
dependencies:
|
||||
angular2: 2.0.0-alpha.25
|
||||
browser: any
|
||||
browser: ^0.10.0+2
|
||||
<span class="pnk">transformers:
|
||||
- angular2:
|
||||
entry_points: web/main.dart</span>
|
||||
|
|
Loading…
Reference in New Issue