@vue2do/mock
v1.1.15
Published
Mock server for Vue2do.
Downloads
5
Readme
Mock server
GraphQL Server
Configuration
...
gql: {
execute: '../../tsDist/app/mock/server/gql/gql.js', // 启动文件路径
port: 5168
}
...
Start
Cli:
vue2do-mock gql projectPath/mock.config.js
Require:
const vue2doMock = require('@vue2do/mock')
vue2doMock.gql({
configPath: path.resolve(__dirname, '../mock.config.js')
})