fix mobile

pull/9/head
tjz 2018-02-04 15:02:57 +08:00
parent b12ce05ab2
commit 2df0dec687
2 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,10 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>

View File

@ -36,6 +36,7 @@ module.exports = merge(baseWebpackConfig, {
},
devServer: {
port: 3000,
host: '0.0.0.0',
historyApiFallback: {
rewrites: [
{ from: /.*/, to: '/index.html' },