Skip to content

Commit 0493a99

Browse files
committed
refactor: small refactors
1 parent 6d530f7 commit 0493a99

File tree

2 files changed

+11
-16
lines changed

2 files changed

+11
-16
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Have a bug or a feature request? [Please open a new issue](https://github.com/co
9797

9898
### Contributing
9999

100-
Please read through our [contributing guidelines](https://github.com/coreui/coreui-free-vue-admin-template/blob/v3-next/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
100+
Please read through our [contributing guidelines](https://github.com/coreui/coreui-free-vue-admin-template/blob/v3-next/.github/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
101101

102102
### Versioning
103103

src/views/base/Navs.vue

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,19 @@
3030
<small>icons</small>
3131
</CCardHeader>
3232
<CCardBody>
33-
<CNav>
33+
<CNav variant="pills">
3434
<CNavItem active>
3535
<CIcon name="cil-basket"/>
3636
</CNavItem>
3737
<CNavItem>
38-
Link
38+
<CIcon name="cil-settings"/>
3939
</CNavItem>
4040
<CNavItem>
41-
Another Link
41+
<CIcon name="cil-bell"/>
42+
</CNavItem>
43+
<CNavItem disabled>
44+
<CIcon name="cil-envelope-closed"/>
4245
</CNavItem>
43-
<CNavItem disabled>Disabled</CNavItem>
4446
</CNav>
4547
</CCardBody>
4648
</CCard>
@@ -117,16 +119,14 @@
117119
<small>dropdown support</small>
118120
</CCardHeader>
119121
<CCardBody>
120-
<CNav pills>
121-
<CNavItem active>Active</CNavItem>
122+
<CNav variant="pills">
123+
<CNavItem>Active</CNavItem>
122124
<CNavItem>Link</CNavItem>
123125
<CDropdown
124-
id="nav7_ddown"
125-
nav
126+
in-nav
126127
placement="bottom-end"
127128
button-content="Dropdown"
128129
>
129-
<!-- <a class="nav-link dropdown-toggle" slot="button">Dropdown</a> -->
130130
<CDropdownItem>one</CDropdownItem>
131131
<CDropdownItem>two</CDropdownItem>
132132
<CDropdownDivider/>
@@ -159,11 +159,6 @@
159159

160160
<script>
161161
export default {
162-
name: 'Navs',
163-
data () {
164-
return {
165-
item: 2
166-
}
167-
}
162+
name: 'Navs'
168163
}
169164
</script>

0 commit comments

Comments
 (0)