feat: search-bar

This commit is contained in:
Corentin Thomasset 2022-04-04 01:03:06 +02:00
parent bab92ef84f
commit e8594de7b4
No known key found for this signature in database
GPG key ID: DBD997E935996158
4 changed files with 62 additions and 1 deletions

View file

@ -4,6 +4,7 @@ import { h, ref, type Component } from 'vue';
import { RouterLink, useRoute } from 'vue-router';
import { User } from '@vicons/tabler'
import { tools } from '@/tools';
import SearchBar from '../components/SearchBar.vue';
const collapsed = ref(false)
const activeKey = ref(null)
@ -50,7 +51,8 @@ const menuOptions = tools.map(({ name, path, icon }) => ({
</n-layout-sider>
<n-layout class="content">
<div class="bar-wrapper">
<n-input />
<search-bar />
<n-button secondary circle>
<n-icon size="large">
<user />