Change dir structure

This commit is contained in:
Anton Vakhrushev 2018-06-05 13:14:00 +03:00
parent d88efead90
commit f27fcf1210
4 changed files with 7 additions and 8 deletions

View File

@ -2,11 +2,8 @@ export default class Supervisor {
daemons = [];
constructor(daemons) {
this.daemons = daemons;
}
predict(movements) {
}
predict(movements) {}
}

View File

@ -1,6 +1,6 @@
import Vue from 'vue';
import './style.css';
import Predictor from './Predictor';
import './style.css';
new Vue({
el: '#app',

View File

@ -13,6 +13,6 @@
<button value="1" v-on:click="pass(1)">1</button>
</div>
</main>
<script src="dist/app.js"></script>
<script src="/dist/app.js"></script>
</body>
</html>

View File

@ -6,7 +6,8 @@ module.exports = {
entry: path.resolve(__dirname, 'source/index.js'),
output: {
filename: 'app.js',
path: path.resolve(__dirname, 'dist'),
path: path.resolve(__dirname, 'web/dist'),
publicPath: 'dist/',
},
module: {
rules: [
@ -29,7 +30,8 @@ module.exports = {
}
},
devServer: {
contentBase: path.resolve(__dirname, 'dist'),
contentBase: path.resolve(__dirname, 'web'),
index: 'index.html',
host: "0.0.0.0",
port: 9000,
}