+
+
+
\ No newline at end of file
diff --git a/frontend/main.js b/frontend/main.js
index da93ebe2..3f8c4349 100644
--- a/frontend/main.js
+++ b/frontend/main.js
@@ -1,7 +1,7 @@
import Vue from 'vue'
import VueRouter from 'vue-router'
import router from './routes'
-// import store from './store'
+import store from './store'
import App from './App.vue'
@@ -10,7 +10,7 @@ Vue.use(VueRouter)
new Vue({
el: '#app',
router,
- // store,
+ store,
components: { App },
render: h => h(App)
})
\ No newline at end of file
diff --git a/frontend/modules/playerModule.js b/frontend/modules/playerModule.js
new file mode 100644
index 00000000..102a4a73
--- /dev/null
+++ b/frontend/modules/playerModule.js
@@ -0,0 +1,21 @@
+export default {
+ namespaced: true,
+ state: {
+ player: undefined
+ },
+ getters: {
+ player: (state) => {
+ return state.player;
+ }
+ },
+ mutations: {
+ SET_PLAYER: (state, player) => {
+ state.player = player;
+ }
+ },
+ actios: {
+ setPlayer({ commit }, player) {
+ commit('SET_PLAYER', player)
+ }
+ }
+}
diff --git a/frontend/store.js b/frontend/store.js
new file mode 100644
index 00000000..076c50ca
--- /dev/null
+++ b/frontend/store.js
@@ -0,0 +1,12 @@
+import Vue from 'vue';
+import Vuex from 'vuex';
+
+import playerModule from '@/modules/playerModule';
+
+Vue.use(Vuex);
+
+const store = new Vuex.Store({
+ modules: {
+ playerModule
+ }
+})
\ No newline at end of file
diff --git a/frontend/styles/normalize.scss b/frontend/styles/normalize.scss
new file mode 100644
index 00000000..5d531962
--- /dev/null
+++ b/frontend/styles/normalize.scss
@@ -0,0 +1,5 @@
+
+body {
+ margin: 0;
+ padding: 0;
+}
\ No newline at end of file