fix item routes
All checks were successful
Build and Deploy Frontend / build-and-deploy (push) Successful in 7s
All checks were successful
Build and Deploy Frontend / build-and-deploy (push) Successful in 7s
This commit is contained in:
@@ -24,7 +24,7 @@ function logout() {
|
|||||||
<div>
|
<div>
|
||||||
<h1>Items</h1>
|
<h1>Items</h1>
|
||||||
|
|
||||||
<router-link to="/user/new">Create Item</router-link>
|
<router-link to="/item/new">Create Item</router-link>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr v-for="item in store.items" :key="item.id">
|
<tr v-for="item in store.items" :key="item.id">
|
||||||
|
|||||||
@@ -10,8 +10,8 @@
|
|||||||
<h3>yeah im so cool rn</h3>
|
<h3>yeah im so cool rn</h3>
|
||||||
<h1>imagining what I could do with themes :o</h1>
|
<h1>imagining what I could do with themes :o</h1>
|
||||||
|
|
||||||
<router-link to="/users" custom v-slot="{ navigate }">
|
<router-link to="/items" custom v-slot="{ navigate }">
|
||||||
<button @click="navigate" role="link">Users</button>
|
<button @click="navigate" role="link">Items</button>
|
||||||
</router-link>
|
</router-link>
|
||||||
|
|
||||||
<router-link to="/register" custom v-slot="{ navigate }"> <!-- TODO: only if token == invalid -->
|
<router-link to="/register" custom v-slot="{ navigate }"> <!-- TODO: only if token == invalid -->
|
||||||
|
|||||||
Reference in New Issue
Block a user