mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-22 03:51:33 +00:00
Feat/adjust in home poc (#1706)
* feat - align content * Feat - Adjust in home - poc * Update notice-es.md * update all lang * fix - add new rule * feat - add EN page and remove title 'exemplo rapido' * fix - rollback remove tag * fix - rollback remove tag v2 * fix - rollback remove tag v3
This commit is contained in:
18
index.md
18
index.md
@@ -16,6 +16,24 @@ redirect_from: "/en/index.html"
|
||||
</section>
|
||||
<div id="install-command">$ npm install express --save</div>
|
||||
</div>
|
||||
|
||||
<div id="homepage-rightpane" class="pane">
|
||||
<div id="quick-start">
|
||||
<pre><code class="language-javascript">
|
||||
const express = require('express')
|
||||
const app = express()
|
||||
const port = 3000
|
||||
|
||||
app.get('/', (req, res) => {
|
||||
res.send('Hello World!')
|
||||
})
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log(`Example app listening on port ${port}`)
|
||||
})
|
||||
</code></pre>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<section id="announcements">
|
||||
{% include announcement/announcement-en.md %}
|
||||
|
||||
Reference in New Issue
Block a user