Поправки путей
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -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
|
||||||
|
|||||||
@@ -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"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user