Поправки путей
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,6 +1,6 @@
|
||||
/node_modules
|
||||
/server/data
|
||||
/server/log
|
||||
/server/public/bundle.js
|
||||
/server/public/app
|
||||
/dist/win
|
||||
/dist/linux
|
||||
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user