• This project
    • Loading...
  • Sign in

fe / yohoblk-wap · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohoblk-wap
  • build
  • yo.dev.config.js
  • push
    494f0691
    by 陈峰
    2017-12-29 18:45:12 +0800  
    Browse Files
yo.dev.config.js 278 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13
const yoBase = require('./yo.base.conf.js');
const yo = require('yo-cli');

module.exports = yo(yoBase)
    .dev({
        port: 8888,
        hot: true,
        historyApiFallback: true,
        proxy: {
            '/api': 'http://localhost:8887'
        }
    })
    .run();