Skip to content

Commit 7761285

Browse files
authored
Merge pull request #1494 from w3bdesign/develop
Use Nuxt auto import
2 parents 7b6bc38 + 7bdb6d7 commit 7761285

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

components/Layout/LayoutNavbar.vue

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
<ul
3131
class="items-center justify-end flex-1 pr-4 -mr-4 list-reset lg:flex"
3232
>
33-
<NavItem to="/" label="Home" />
34-
<NavItem to="/products" label="Products" />
35-
<NavItem to="/categories" label="Categories" />
36-
<NavItem to="/search" label="Search" />
33+
<LayoutNavItem to="/" label="Home" />
34+
<LayoutNavItem to="/products" label="Products" />
35+
<LayoutNavItem to="/categories" label="Categories" />
36+
<LayoutNavItem to="/search" label="Search" />
3737
<li
3838
class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"
3939
>
@@ -48,10 +48,6 @@
4848
</header>
4949
</template>
5050

51-
<script setup>
52-
import NavItem from "@/components/Layout/LayoutNavItem.vue";
53-
</script>
54-
5551
<style scoped>
5652
header {
5753
max-width: 1400px;

0 commit comments

Comments
 (0)