|
7 | 7 |
|
8 | 8 |
|
9 | 9 | p.
|
10 |
| - These instructions assume that you already have the Dart SDK |
| 10 | + These instructions assume that you already have the |
| 11 | + <a href="https://www.dartlang.org/downloads/">Dart SDK</a> |
11 | 12 | and any tools you like to use with Dart.
|
12 |
| - If not, go |
13 |
| - <a href="https://www.dartlang.org/downloads/">download Dart</a>. |
14 |
| - Then return here. |
| 13 | + If you don't have a favorite editor already, try |
| 14 | + <a href="https://confluence.jetbrains.com/display/WI/Getting+started+with+Dart">WebStorm</a>, |
| 15 | + which comes with a Dart plugin. |
| 16 | + You can also download |
| 17 | + <a href="https://www.dartlang.org/tools/">Dart plugins for |
| 18 | + other IDEs and editors</a>. |
| 19 | + |
| 20 | +p. |
| 21 | + Once you have the Dart SDK and any other tools you want, return here. |
15 | 22 |
|
16 | 23 | //- STEP 1 - Create a project ##########################
|
17 | 24 | .l-main-section
|
|
38 | 45 | version: 0.0.1
|
39 | 46 | dependencies:
|
40 | 47 | angular2: 2.0.0-alpha.25
|
41 |
| - browser: any |
| 48 | + browser: ^0.10.0+2 |
42 | 49 | transformers:
|
43 | 50 | - angular2:
|
44 | 51 | entry_points: web/main.dart
|
|
50 | 57 | code-example(language="sh").
|
51 | 58 | > <span class="blk">pub get</span>
|
52 | 59 |
|
53 |
| - //- PENDING: browser: any -> ??? |
54 | 60 | //- PENDING: Create template? Link to pub/pubspec docs?
|
55 | 61 |
|
56 | 62 |
|
|
213 | 219 | One is to launch a local HTTP server
|
214 | 220 | and then view the app in
|
215 | 221 | <a href="https://www.dartlang.org/tools/dartium/">Dartium</a>.
|
216 |
| - You can use whatever server you like, such as Python's SimpleHTTPServer. |
| 222 | + You can use whatever server you like, such as WebStorm's server |
| 223 | + or Python's SimpleHTTPServer. |
217 | 224 |
|
218 | 225 | p.
|
219 | 226 | Another option is to build and serve the app using <code>pub serve</code>,
|
|
267 | 274 | version: 0.0.1
|
268 | 275 | dependencies:
|
269 | 276 | angular2: 2.0.0-alpha.25
|
270 |
| - browser: any |
| 277 | + browser: ^0.10.0+2 |
271 | 278 | <span class="pnk">transformers:
|
272 | 279 | - angular2:
|
273 | 280 | entry_points: web/main.dart</span>
|
|
0 commit comments