Skip to content

Commit 6e2e2e6

Browse files
committed
feat(SidebarNav): navLink attributes
1 parent a0520f9 commit 6e2e2e6

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

src/_nav.js

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,18 +256,30 @@ export default {
256256
}
257257
]
258258
},
259+
{
260+
name: 'Disabled',
261+
url: '/dashboard',
262+
icon: 'icon-ban',
263+
badge: {
264+
variant: 'secondary',
265+
text: 'NEW'
266+
},
267+
attributes: { disabled: true },
268+
},
259269
{
260270
name: 'Download CoreUI',
261271
url: 'http://coreui.io/vue/',
262272
icon: 'icon-cloud-download',
263273
class: 'mt-auto',
264-
variant: 'success'
274+
variant: 'success',
275+
attributes: { target: '_blank', rel: 'noopener' }
265276
},
266277
{
267278
name: 'Try CoreUI PRO',
268279
url: 'http://coreui.io/pro/vue/',
269280
icon: 'icon-layers',
270-
variant: 'danger'
271-
}
281+
variant: 'danger',
282+
attributes: { target: '_blank', rel: 'noopener' }
283+
},
272284
]
273285
}

0 commit comments

Comments
 (0)