亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

javascript - How to build json server with vue webpack-simple template?
ringa_lee
ringa_lee 2017-06-26 10:51:03
0
1
1214

How to build json server in webpack-simple template?

ringa_lee
ringa_lee

ringa_lee

reply all(1)
扔個(gè)三星炸死你

I guess the purpose of your integration is to prevent cross-domain, because if you start a project based on webpack-simple in separate dev mode, the default is 8080, but the default port of json server as a service is 3000, so you want to use this The two services are integrated together, using both dev-server hot loading and the REST api function of json server. If you want to solve this problem, just follow the startup method below in chrome (my system is based on ox-10.11).

open -a Google\ Chrome --args --disable-web-security --user-data-dir

As for another solution to directly integrate the two, it should be more complicated, but I have not tried it.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template