Detailed explanation of mockjs process for recording simulation data for vue project manufacturing and development environment

Requirement: no server at all. It can achieve the same effect as connecting to the server. It does not change the interface, but only writes data Scenario: I need to implement a function. Before, the project was directly connected with the background interface. Now I am working at home. Then I want t ...

Posted on Mon, 16 Mar 2020 01:11:51 -0700 by sebnewyork

JS Advanced Chapter--Using mockjs to simulate back-end data in vue+vuecli+webpack

Preface Using mockjs, we can simulate the data in advance, if we have agreed with the back end about the data interface and what kind of data. You can use mock to generate the data you want, so that the front and back end of the development can be separated. Its main functions are: Simulated data is generated based on data template. Simula ...

Posted on Thu, 13 Dec 2018 10:06:14 -0800 by songwind