diff --git a/source/Supervisor.js b/source/Supervisor.js index 906fea8..fd6c3fd 100644 --- a/source/Supervisor.js +++ b/source/Supervisor.js @@ -2,11 +2,8 @@ export default class Supervisor { daemons = []; constructor(daemons) { - this.daemons = daemons; } - predict(movements) { - - } + predict(movements) {} } diff --git a/source/index.js b/source/index.js index c3ead0b..a3c6221 100644 --- a/source/index.js +++ b/source/index.js @@ -1,6 +1,6 @@ import Vue from 'vue'; -import './style.css'; import Predictor from './Predictor'; +import './style.css'; new Vue({ el: '#app', diff --git a/index.html b/web/index.html similarity index 90% rename from index.html rename to web/index.html index 85f16f1..7834480 100644 --- a/index.html +++ b/web/index.html @@ -13,6 +13,6 @@ - + \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index 8684f15..545194a 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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, }