Skip to content

cag2050/webpack_api_mocker_demo

Repository files navigation

webpack_api_mocker_demo

A Vue.js project

webpack-api-mocker 的使用

  1. github 地址:https://github.com/jaywcjlove/webpack-api-mocker
  2. Webpack最简单的方式Mock API
  3. 在webpack-dev-server内添加mock server

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For a detailed explanation on how things work, check out the guide and docs for vue-loader.

About

webpack 最简单的方式 mock 数据

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published