diff --git a/src/app.vue b/src/app.vue
index 80a372c..592da0c 100644
--- a/src/app.vue
+++ b/src/app.vue
@@ -1,6 +1,6 @@
-
+
@@ -9,11 +9,29 @@ import Header from './components/header.vue'
import Footer from './components/footer.vue'
export default {
- components: { Header, Footer }
+ components: { Header, Footer },
+
+ mounted() {
+ var user = localStorage.getItem('user')
+ if (user) {
+ this.$store.user = JSON.parse(user)
+ }
+ }
}