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
7c64f9ee
Commit
7c64f9ee
authored
Jan 18, 2023
by
TTS Kieu Tuan Anh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add CRUD posts
parent
1203f91e
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
519 additions
and
2 deletions
+519
-2
nav.vue
components/nav.vue
+1
-0
posts.vue
pages/home/posts.vue
+516
-0
products.vue
pages/home/products.vue
+2
-2
No files found.
components/nav.vue
View file @
7c64f9ee
...
...
@@ -15,6 +15,7 @@
<b-nav-item
href=
"/home/users"
>
USER
</b-nav-item>
<b-nav-item
href=
"/home/categories"
>
CATEGORY
</b-nav-item>
<b-nav-item
href=
"/home/products"
>
PRODUCT
</b-nav-item>
<b-nav-item
href=
"/home/posts"
>
POST
</b-nav-item>
</b-navbar-nav>
<!-- Right aligned nav items -->
...
...
pages/home/posts.vue
0 → 100644
View file @
7c64f9ee
This diff is collapsed.
Click to expand it.
pages/home/products.vue
View file @
7c64f9ee
...
...
@@ -516,8 +516,8 @@ export default {
variants
:
this
.
variants
,
},
{
headers
:
{
"
Content-Type
"
:
"
multipart/form-data
"
,
"
Authorization
"
:
this
.
$auth
.
$storage
.
getUniversal
(
"
token
"
)
'
Content-Type
'
:
'
multipart/form-data
'
,
'
Authorization
'
:
this
.
$auth
.
$storage
.
getUniversal
(
'
token
'
)
}
})
.
then
(
response
=>
{
...
...
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