Giters
vbenjs
/
vite-plugin-mock
A mock plugin for vite.use mockjs.
Geek Repo:
Geek Repo
Github PK Tool:
Github PK Tool
Stargazers:
578
Watchers:
7
Issues:
110
Forks:
90
vbenjs/vite-plugin-mock Issues
希望支持配置response headers解决跨域问题
Updated
3 months ago
Comments count
1
可以添加一个bash_url 配置嘛
Updated
3 months ago
Error with yarn pnp
Updated
3 months ago
生产环境使用mock无法配置
Updated
3 months ago
Comments count
17
线上部署报内存溢出:Maximum call stack size exceeded
Updated
3 months ago
Comments count
3
配置ignore时函数形式和正则表达式形式逻辑相反
Closed
3 months ago
The CJS build of Vite's Node API is deprecated
Updated
4 months ago
Comments count
1
是否支持vite5
Closed
5 months ago
Comments count
3
使用带?的 url 报错
Updated
5 months ago
能支持websocket的mock吗
Updated
5 months ago
Comments count
1
运行yarn dev报错 vite版本4.2.1 ReferenceError: require is not defined
Closed
5 months ago
Comments count
18
点击提示的位置在if条件内容改为 if (typeof require === "undefined" || !require.cache)
Closed
5 months ago
Comments count
2
NodeJS18+严重错误:if (!require.cache) {
Closed
5 months ago
Comments count
5
vite 运行时,修改mock文件会生成很多个xxx.mjs文件
Closed
5 months ago
Comments count
12
3.0.0版本在vite 项目中报错 ReferenceError: require is not defined at cleanRequireCache
Closed
5 months ago
Comments count
3
手动创建 mock/user.ts 文件后项目异常
Closed
5 months ago
Comments count
4
可以设置是否启用mock的开关吗?
Closed
5 months ago
Comments count
2
mock 动态参数
Updated
6 months ago
Comments count
1
HTTP header内容判断
Closed
6 months ago
Comments count
1
数据丢失问题
Updated
7 months ago
response 支持下异步返回
Updated
7 months ago
Comments count
1
找不到模块“vite-plugin-mock/client”
Updated
8 months ago
Comments count
9
怎么给所有的mock接口统一设置 response header
Updated
8 months ago
Comments count
1
mockMethod方法使用window.localStorage报ReferenceError: window is not defined
Updated
8 months ago
线上环境get请求中query获取不到完整的数组参数,开发环境正常
Closed
8 months ago
Comments count
2
这个库具体怎么用啊,文档里没讲Mock假数据配置好之后怎么使用(发起网络请求)啊?
Closed
8 months ago
Comments count
2
3.0.0:`找不到模块“vite-plugin-mock/client”或其相应的类型声明`
Closed
9 months ago
Comments count
1
3版本的在生产构建后mock失败
Updated
9 months ago
Comments count
2
在vite项目中使用引入多模块的方式时控制台中报警
Updated
9 months ago
TypeError: (0 , import_vite_plugin_mock.default) is not a function
Updated
9 months ago
mock/index.js:20:2: ERROR: Expected ";" but found "as"
Closed
a year ago
Comments count
1
生产环境mock服务404
Updated
a year ago
Comments count
4
[ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts"
Updated
a year ago
"importsNotUsedAsValues": "error"不兼容
Closed
a year ago
Comments count
1
error: Could not resolve "node:fs" (mark it as external to exclude it from the bundle)
Updated
a year ago
Comments count
6
Error: esbuild: Failed to install correctly
Updated
a year ago
[dev] esbuild needs to be upgraded to support windows arm64
Updated
a year ago
vite3 不生效
Closed
2 years ago
Comments count
3
生产环境mock不生效
Closed
2 years ago
Comments count
1
支持vite4+rollup3
Updated
a year ago
生产环境 mock 服务异常
Updated
2 years ago
怎么bug这么多啊,搞了半天,好烦躁
Closed
2 years ago
production下返回数据异常
Updated
2 years ago
prod环境下 response 的入参没有url dev模式下没问题
Updated
2 years ago
生产环境使用mock加载失败
Closed
2 years ago
`const instance = axios.create() ` can not mock
Closed
2 years ago
Vite v3.0?
Closed
2 years ago
Comments count
1
不能mock线上api地址吗?
Updated
2 years ago
Comments count
1
fix: mockmethod.url type is string, how to use RegExp
Closed
2 years ago
在mock文件中不支持使用process.env下面的常量
Updated
2 years ago
Previous
Next