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
请求的 umi.dll.js 文件内容变成 这个html 了
<!DOCTYPE html><html><head> <link rel="stylesheet" href="/umi.css"> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> <title>管理端</title> <script> window.routerBase = "./"; </script> <script src="/umi.dll.js"></script> </head> <body> <div id="root"></div> <script src="/umi.js"></script> </body></html>
但是我在node_modules 找到的 umi.dll.js 文件是正常的,不是这个html文件
Steps to reproduce the behavior:
devServer: { before(app, server) { app.get('/xxx/dev/', function(req, res) { res.json({ custom: 'response' }) }) } }
Expected behavior
The text was updated successfully, but these errors were encountered:
mock 数据的话,在 mock 文件夹里配吧。
Sorry, something went wrong.
nice! 我一开始以为 mock 只能写数据 没想到居然能支持自定义函数,而且还帮我做了body parse
No branches or pull requests
请求的 umi.dll.js 文件内容变成 这个html 了
但是我在node_modules 找到的 umi.dll.js 文件是正常的,不是这个html文件
How To Reproduce
Steps to reproduce the behavior:
Expected behavior
Context
The text was updated successfully, but these errors were encountered: