We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
遇到两个跟public文件夹有关的问题:
尝试过直接将静态文件放在dist/server文件夹下面,编译时会重置。
请求帮助,或者有更好的解决方法,还请赐教,感谢
The text was updated successfully, but these errors were encountered:
自己使用 express 来处理静态目录即可、
app.use( '/public/', express.static(你的路径) );
Sorry, something went wrong.
如果你使用的是TS,编译的时候,记得把public 目录,复制到TS编译后的对应目录下
public
@lzxb 谢谢帮助,已经可以了
No branches or pull requests
遇到两个跟public文件夹有关的问题:
尝试过直接将静态文件放在dist/server文件夹下面,编译时会重置。
请求帮助,或者有更好的解决方法,还请赐教,感谢
The text was updated successfully, but these errors were encountered: