Commit 8bf21140 authored by TTS Kieu Tuan Anh's avatar TTS Kieu Tuan Anh

ident

parent eb3870a2
<template> <template>
<div> <div>
<div> <div>
<Nav /> <Nav />
<h1 style="text-align: center">HOME</h1> <h1 style="text-align: center">HOME</h1>
</div>
</div>
</div> </div>
</template> </template>
<script> <script>
import { onMounted } from "vue"; import { onMounted } from "vue";
import axios from "axios"; import axios from "axios";
import VueAxios from "vue-axios"; import VueAxios from "vue-axios";
...@@ -22,10 +18,8 @@ import Footer from "@/components/Footer"; ...@@ -22,10 +18,8 @@ import Footer from "@/components/Footer";
export default { export default {
components: { Nav }, components: { Nav },
components: { Footer }, components: { Footer },
middleware: ['web'], middleware: ["web"],
}; };
</script> </script>
<style></style> <style></style>
...@@ -274,6 +274,7 @@ export default { ...@@ -274,6 +274,7 @@ export default {
}, },
created() { created() {
this.initialize(); this.initialize();
this.getUsers();
}, },
methods: { methods: {
initialize() { initialize() {
...@@ -390,10 +391,6 @@ export default { ...@@ -390,10 +391,6 @@ export default {
console.log(error) console.log(error)
} }
} }
},
created() {
this.getUsers();
}, },
}; };
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment