dcloudio / dcloudio/uni-app

Vite环境下添加Node运行环境

Open
#3,700 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
41.6k
Forks
3.7k
Avg merge
7h 6m
Merged PRs (30d)
6

Description

**问题描述**
因项目使用MSW作为数据Mock服务,`development` 环境下正常请求后端接口,想添加 `mock` 环境用于请求MSW服务

![image](https://user-images.githubusercontent.com/36913769/179146202-dc6c76ea-64a8-4cf7-8071-7aef6baa1bcb.png)

**预期结果**
MODE mock

**系统信息:**
- 发行平台: h5+, mini program

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.