The Wayback Machine - https://web.archive.org/web/20200716160628/https://github.com/topics/axios
Skip to content
#

axios

Here are 5,896 public repositories matching this topic...

mystorp
mystorp commented Jul 31, 2019

使用 Mock mock 数据的时候,需要硬编码数据到代码里面

使用 easy-mock 需要外网访问

使用 http-mock-middleware 仅仅需要新增如下 devServer.after 的配置项,就可以很方便的管理假数据,也方便开发者任意的修改假数据,而不需要提交:

const httpMockMiddleware = require("hm-middleware");

module.exports = {
    devServer: {
        after: function(app, server){
            app.use(httpMockMiddleware({
      
robot7th
robot7th commented Jul 24, 2019

image

有没有谁碰到过这问题?侧边栏渲染的时候,render方法内部报错。

ERROR in ./src/layout/components/Sidebar/Item.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/layout/components/Sidebar/Item.vue?vue&type=script&lang=js&)
Module build failed (

Improve this page

Add a description, image, and links to the axios topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the axios topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.