fix mobile

pull/165/head
tjz 2018-02-04 15:02:57 +08:00
parent 5fc268983d
commit 8f7fc1f3ef
2 changed files with 5 additions and 2 deletions

View File

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

View File

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