You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2017. It is now read-only.
The [QuickStart](../quickstart.html "Angular QuickStart") sample only shows the `AppComponent` file.
80
-
It creates the equivalent of `app.module.ts` and `main.ts` internally _for that example only_
81
-
so the reader can discover Angular without distraction.
82
-
83
-
All other guides and cookbooks expect you to have defined these three files explicitly.
84
-
Each file has a distinct purpose and evolves independently as the application grows.
70
+
All guides and cookbooks have _at least these three files_. Each file has a distinct purpose and evolves independently as the application grows.
85
71
86
72
style td, th {vertical-align: top}
87
73
table(width="100%")
@@ -114,11 +100,11 @@ table(width="100%")
114
100
it's the only viable choice for a sample running in a _live-coding_ environment like Plunker.
115
101
You'll learn about alternative compiling and deployment options later in the documentation.
116
102
117
-
.l-main-section
118
-
:marked
119
-
## Next Step
103
+
.l-sub-section
104
+
:marked
105
+
### Next Step
120
106
121
-
If you're new to Angular, try the recommended [learning path](learning-path.html).
107
+
If you're new to Angular, try the recommended [learning path](learning-angular.html).
122
108
123
109
a#install-node
124
110
.l-main-section
@@ -140,3 +126,31 @@ a#install-node
140
126
You may need [nvm](https://github.com/creationix/nvm) if you already have projects running on your machine that
141
127
use other versions of node and npm.
142
128
129
+
a#why-locally
130
+
.l-main-section
131
+
:marked
132
+
## Appdendix: Why develop locally
133
+
134
+
<live-example>Live coding</live-example> in the browser is a great way to explore Angular.
135
+
136
+
Links on almost every documentation page open completed samples in the browser.
137
+
You can play with the sample code, share your changes with friends, and download and run the code on your own machine.
138
+
139
+
The [QuickStart](../quickstart.html "Angular QuickStart Playground") shows just the `AppComponent` file.
140
+
It creates the equivalent of `app.module.ts` and `main.ts` internally _for the playground only_.
141
+
so the reader can discover Angular without distraction.
142
+
The other samples are based on the QuickStart seed.
143
+
144
+
As much fun as this is ...
145
+
* you can't ship your app in plunker
146
+
* you aren't always online when writing code
147
+
* transpiling TypeScript in the browser is slow
148
+
* the type support, refactoring, and code completion only work in your local IDE
149
+
150
+
Use the <live-example><i>live coding</i></live-example> environment as a _playground_,
151
+
a place to try the documentation samples and experiment on your own.
152
+
It's the perfect place to reproduce a bug when you want to
153
+
<a href="https://github.com/angular/angular.io/issues/new" target="_blank" title="File a documentation issue">file a documentation issue</a> or
154
+
<a href="https://github.com/angular/angular/issues/new" target="_blank" title="File an Angular issue">file an issue with Angular itself</a>.
155
+
156
+
For real development, we strongly recommend [developing locally](#develop-locally).
0 commit comments