Skip to content
Myr

Added more setting docs

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 6e8413f · Browse files · 3 files+7 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+7 added−0 removed

  • other:+7 added−0 removed

3 files+7 added−0 removed

modified:docs/guide.1+3 added
79 unmodified lines
80.81.IP "\(bu" 482\fIview engine\fR Default view engine name for views rendered without extensions83.84.IP "\(bu" 485\fIreload views\fR Reloads altered views, by default watches for \fImtime\fR changes with with a 5 minute interval\. Example: \fBapp\.set(\'reload views\', { interval: 60000 });\fR86.87.IP "" 088.89.SS "Routing"90Express utilizes the HTTP verbs to provide a meaningful, expressive routing API\. For example we may want to render a user\'s account for the path \fI/user/12\fR, this can be done by defining the route below\. The values associated to the named placeholders, are passed as the \fIthird\fR argument, which here we name \fIparams\fR\.
121 unmodified lines
modified:docs/guide.html+2 added
219 unmodified lines
220221<ul>222<li><em>views</em> Root views directory defaulting to <strong>CWD/views</strong></li>223<li><em>view engine</em> Default view engine name for views rendered without extensions</li>224<li><em>reload views</em> Reloads altered views, by default watches for <em>mtime</em> changes with225 with a 5 minute interval. Example: <code>app.set('reload views', { interval: 60000 });</code></li>226</ul>227228229<h3 id="Routing">Routing</h3>
92 unmodified lines
modified:docs/guide.md+2 added