Change dir structure
This commit is contained in:
parent
d88efead90
commit
f27fcf1210
@ -2,11 +2,8 @@ export default class Supervisor {
|
||||
daemons = [];
|
||||
|
||||
constructor(daemons) {
|
||||
|
||||
this.daemons = daemons;
|
||||
}
|
||||
|
||||
predict(movements) {
|
||||
|
||||
}
|
||||
predict(movements) {}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import Vue from 'vue';
|
||||
import './style.css';
|
||||
import Predictor from './Predictor';
|
||||
import './style.css';
|
||||
|
||||
new Vue({
|
||||
el: '#app',
|
||||
|
@ -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>
|
@ -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,
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user