vbenjs / vite-plugin-mock

A mock plugin for vite.use mockjs.
MIT License
621 stars 96 forks source link

能否加个配置基础路径的功能 #31

Closed CrazyZhang3 closed 3 years ago

CrazyZhang3 commented 3 years ago

requestUrl = baseUrl + url

caosiwei97 commented 3 years ago

+1

anncwb commented 3 years ago

这个如果加了,在生产环境会失效,所以在想有没有必要

anncwb commented 3 years ago

生产环境需要自己单独配置公共路径