Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
K
kiaisoft_tuananh_nuxt
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
TTS Tran Viet Anh
kiaisoft_tuananh_nuxt
Commits
8bf21140
Commit
8bf21140
authored
Jan 10, 2023
by
TTS Kieu Tuan Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ident
parent
eb3870a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
15 deletions
+6
-15
index.vue
pages/home/index.vue
+5
-11
users.vue
pages/home/users.vue
+1
-4
No files found.
pages/home/index.vue
View file @
8bf21140
...
@@ -3,15 +3,11 @@
...
@@ -3,15 +3,11 @@
<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
>
pages/home/users.vue
View file @
8bf21140
...
@@ -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
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment