Skip to content

Commit

Permalink
chore: Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Sep 14, 2023
1 parent c967fa9 commit 19ee949
Show file tree
Hide file tree
Showing 2 changed files with 85 additions and 21 deletions.
20 changes: 16 additions & 4 deletions playground/app.vue
Original file line number Diff line number Diff line change
@@ -1,16 +1,28 @@
<template>
<NaiveConfig :theme-config="themeConfig">
<NaiveNavbar :routes="navbarRoutes" :drawer-routes="drawerRoutes" :menu-inverted="false" drawer-closable
menu-placement="center">
<NaiveNavbar
:routes="navbarRoutes"
:drawer-routes="drawerRoutes"
:menu-inverted="false"
drawer-closable
menu-placement="center"
>
<template #start>
<nuxt-link to="/">
<NaiveIcon name="logos:naiveui" />
</nuxt-link>
</template>

<template #end>
<NuxtLink to="https://github.com/becem-gharbi/nuxt-naiveui" target="_" aria-label="source-code">
<n-button text tag="span">
<NuxtLink
to="https://github.com/becem-gharbi/nuxt-naiveui"
target="_"
aria-label="source-code"
>
<n-button
text
tag="span"
>
<NaiveIcon name="cib:github" />
</n-button>
</NuxtLink>
Expand Down
86 changes: 69 additions & 17 deletions playground/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<template>
<n-space vertical :style="{ margin: '1em' }" size="large">
<n-space
vertical
:style="{ margin: '1em' }"
size="large"
>
<n-h3>Buttons</n-h3>

<n-space align="center">
Expand Down Expand Up @@ -30,22 +34,40 @@
<n-button secondary>
Default
</n-button>
<n-button type="error" secondary>
<n-button
type="error"
secondary
>
Error
</n-button>
<n-button type="info" secondary>
<n-button
type="info"
secondary
>
Info
</n-button>
<n-button type="primary" secondary>
<n-button
type="primary"
secondary
>
Primary
</n-button>
<n-button type="success" secondary>
<n-button
type="success"
secondary
>
Success
</n-button>
<n-button type="tertiary" secondary>
<n-button
type="tertiary"
secondary
>
Tertiary
</n-button>
<n-button type="warning" secondary>
<n-button
type="warning"
secondary
>
Warning
</n-button>
</n-space>
Expand All @@ -55,22 +77,40 @@
<n-button quaternary>
Default
</n-button>
<n-button type="error" quaternary>
<n-button
type="error"
quaternary
>
Error
</n-button>
<n-button type="info" quaternary>
<n-button
type="info"
quaternary
>
Info
</n-button>
<n-button type="primary" quaternary>
<n-button
type="primary"
quaternary
>
Primary
</n-button>
<n-button type="success" quaternary>
<n-button
type="success"
quaternary
>
Success
</n-button>
<n-button type="tertiary" quaternary>
<n-button
type="tertiary"
quaternary
>
Tertiary
</n-button>
<n-button type="warning" quaternary>
<n-button
type="warning"
quaternary
>
Warning
</n-button>
</n-space>
Expand Down Expand Up @@ -100,16 +140,28 @@
<n-tag :bordered="false">
Default
</n-tag>
<n-tag type="success" :bordered="false">
<n-tag
type="success"
:bordered="false"
>
Success
</n-tag>
<n-tag type="warning" :bordered="false">
<n-tag
type="warning"
:bordered="false"
>
Warning
</n-tag>
<n-tag type="error" :bordered="false">
<n-tag
type="error"
:bordered="false"
>
Warning
</n-tag>
<n-tag type="info" :bordered="false">
<n-tag
type="info"
:bordered="false"
>
Info
</n-tag>
</n-space>
Expand Down

0 comments on commit 19ee949

Please sign in to comment.