Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

express配合webpack搭建服务器有教程么 #116

Open
zonglinlee opened this issue Nov 24, 2019 · 1 comment
Open

express配合webpack搭建服务器有教程么 #116

zonglinlee opened this issue Nov 24, 2019 · 1 comment

Comments

@zonglinlee
Copy link

No description provided.

@lijiahao1006
Copy link

静态化myserver文件夹为服务器根目录

const express = require('express')
const app = express()
app.use(express.static("myserver"))
app.listen(3000)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants