Created
December 5, 2016 03:03
-
-
Save hyperh/f66f1178462aff89758a619783e90a51 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import express from 'express'; | |
| import webpack from 'webpack'; | |
| const render = require('../dist/assets/SSR'); | |
| const app = express(); | |
| app.get('/', render.default); | |
| const port = 3000; | |
| app.listen(port); | |
| console.log(`Listening on port ${port}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment