From 2df0dec687f57e8ee6ef20ad8f5dfca4c68e98b3 Mon Sep 17 00:00:00 2001 From: tjz <415800467@qq.com> Date: Sun, 4 Feb 2018 15:02:57 +0800 Subject: [PATCH] fix mobile --- examples/index.html | 6 ++++-- webpack.config.js | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/index.html b/examples/index.html index 33f90078f..8e9f297b3 100644 --- a/examples/index.html +++ b/examples/index.html @@ -1,14 +1,16 @@ + +
- +
- + \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index ab71254d6..6edd58cb3 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -36,6 +36,7 @@ module.exports = merge(baseWebpackConfig, { }, devServer: { port: 3000, + host: '0.0.0.0', historyApiFallback: { rewrites: [ { from: /.*/, to: '/index.html' },