-
Notifications
You must be signed in to change notification settings - Fork 5
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
feature request: Beautify log output and add screen clearing function #3
Labels
enhancement
New feature or request
Comments
nice 坐等作者更新版本和文档 😻 |
优化成上面这样了,基本上和 Vite 的表现一致。 v1.0.0 is released. |
升级后 请求都404 可以使用 https://github.com/pure-admin/vue-pure-admin/tree/refactor/fake-server 代码复现哦 |
😂 嗯嗯 是因为我修改了mock文件 还在错误的基础之上加载文件导致的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
嘿,最新版已经满足整体需求,还有些小优化需求,作者如果有空的话,帮看看 ❤️
mock
文件故意写错代码,编辑器控制台会报红色的错误信息,如下图可以选择使用类似下面的报错,让用户不觉得那么显眼
当然更好的是,当用户把错误的代码修改正常,
vite-plugin-fake-server
提供个类似clearScreen
配置项,配置后可以自动把之前输出的错误信息清除就完美啦Originally posted by @xiaoxian521 in #2 (comment)
To sum up the following two points:
The text was updated successfully, but these errors were encountered: