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

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 /node_modules
/server/data /server/data
/server/log /server/log
/server/public/bundle.js /server/public/app
/dist/win /dist/win
/dist/linux /dist/linux

View File

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

View File

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