UNPKG
star-wh
Version:
latest (1.0.0)
1.0.0
star-wh
/
app
/
vue.config.js
13 lines
•
295 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
const
data=
require
(
"../app/src/mock/data.json"
);
module
.
exports
={
devServer
:{
before
:
(
app
)=>
{ app.
post
(
"/getData"
).
then
(
res
=>
{ res.
send
({
code
:
0
, data, }) }) } } }