stash
This commit is contained in:
parent
c81a179c40
commit
e03303ace9
4 changed files with 4917 additions and 2 deletions
|
@ -33,6 +33,12 @@
|
|||
<span class="align-middle">Admin</span>
|
||||
</router-link>
|
||||
</li>
|
||||
<li class="sidebar-item">
|
||||
<router-link to="/swatch" class="sidebar-link">
|
||||
<b-icon-gear class="bi-valign-middle"></b-icon-gear>
|
||||
<span class="align-middle">Swatch</span>
|
||||
</router-link>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
|
@ -17,6 +17,8 @@ import Files from '@/views/Files.vue';
|
|||
|
||||
const routes = [
|
||||
{path: '/', component: Dashboard, meta: {requiresAuth: true}},
|
||||
{path: '/profile', component: Profile, meta: {requiresAuth: true}},
|
||||
{path: '/settings', component: Settings, meta: {requiresAuth: true}},
|
||||
{path: '/inventory', component: Inventory, meta: {requiresAuth: true}},
|
||||
{path: '/inventory/:id', component: InventoryDetail, meta: {requiresAuth: true}, props: true},
|
||||
{path: '/inventory/:id/edit', component: InventoryEdit, meta: {requiresAuth: true}, props: true},
|
||||
|
@ -48,4 +50,4 @@ router.beforeEach((to/*, from*/) => {
|
|||
}
|
||||
})
|
||||
|
||||
export default router
|
||||
export default router
|
||||
|
|
|
@ -92,7 +92,7 @@ import * as BIcons from "bootstrap-icons-vue";
|
|||
import BaseLayout from "@/components/BaseLayout.vue";
|
||||
|
||||
export default {
|
||||
name: "Inventory",
|
||||
name: "Admin",
|
||||
components: {
|
||||
BaseLayout,
|
||||
...BIcons
|
||||
|
|
4907
frontend/src/views/Swatch.vue
Normal file
4907
frontend/src/views/Swatch.vue
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue