mirror of
https://github.com/zhigang1992/styled-components.git
synced 2026-01-12 22:52:39 +08:00
Created an example page with perf stats
This commit is contained in:
@@ -25,6 +25,10 @@ const port = 3000
|
||||
|
||||
app.use(Express.static('dist'))
|
||||
|
||||
app.get('/with-perf.html', (req, res) => {
|
||||
res.sendFile(path.join(__dirname, 'with-perf.html'))
|
||||
})
|
||||
|
||||
app.get('/*', (req, res) => {
|
||||
res.sendFile(path.join(__dirname, 'index.html'))
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user