Change dir structure
This commit is contained in:
parent
d88efead90
commit
f27fcf1210
@ -2,11 +2,8 @@ export default class Supervisor {
|
|||||||
daemons = [];
|
daemons = [];
|
||||||
|
|
||||||
constructor(daemons) {
|
constructor(daemons) {
|
||||||
|
|
||||||
this.daemons = daemons;
|
this.daemons = daemons;
|
||||||
}
|
}
|
||||||
|
|
||||||
predict(movements) {
|
predict(movements) {}
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import './style.css';
|
|
||||||
import Predictor from './Predictor';
|
import Predictor from './Predictor';
|
||||||
|
import './style.css';
|
||||||
|
|
||||||
new Vue({
|
new Vue({
|
||||||
el: '#app',
|
el: '#app',
|
||||||
|
@ -13,6 +13,6 @@
|
|||||||
<button value="1" v-on:click="pass(1)">1</button>
|
<button value="1" v-on:click="pass(1)">1</button>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<script src="dist/app.js"></script>
|
<script src="/dist/app.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -6,7 +6,8 @@ module.exports = {
|
|||||||
entry: path.resolve(__dirname, 'source/index.js'),
|
entry: path.resolve(__dirname, 'source/index.js'),
|
||||||
output: {
|
output: {
|
||||||
filename: 'app.js',
|
filename: 'app.js',
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'web/dist'),
|
||||||
|
publicPath: 'dist/',
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
@ -29,7 +30,8 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
devServer: {
|
devServer: {
|
||||||
contentBase: path.resolve(__dirname, 'dist'),
|
contentBase: path.resolve(__dirname, 'web'),
|
||||||
|
index: 'index.html',
|
||||||
host: "0.0.0.0",
|
host: "0.0.0.0",
|
||||||
port: 9000,
|
port: 9000,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user