Поправки путей

This commit is contained in:
Book Pauk
2018-12-28 15:54:39 +07:00
parent c94d426157
commit 765dd1de06
3 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View File

@@ -1,6 +1,6 @@
/node_modules
/server/data
/server/log
/server/public/bundle.js
/server/public/app
/dist/win
/dist/linux

View File

@@ -5,8 +5,8 @@ const VueLoaderPlugin = require('vue-loader/lib/plugin');
module.exports = {
entry: [path.resolve(__dirname, "../client/main.js")],
output: {
path: path.resolve(__dirname, "..", "server", "public"),
publicPath: "/",
path: path.resolve(__dirname, "../server/public/app"),
publicPath: "/app",
filename: "bundle.js"
},

View File

@@ -7,6 +7,6 @@
</head>
<body>
<div id="app"></div>
<script type=text/javascript src=/bundle.js></script>
<script type="text/javascript" src="/app/bundle.js"></script>
</body>
</html>