Skip to content

Commit b594d01

Browse files
committed
feat(Icons): add CoreUI Icons set
1 parent 8e93771 commit b594d01

File tree

4 files changed

+433
-19
lines changed

4 files changed

+433
-19
lines changed

src/App.vue

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,9 @@ export default {
88
}
99
</script>
1010

11-
<!--<style lang="scss">-->
12-
<!--/* Import Font Awesome Icons Set */-->
13-
<!--$fa-font-path: '~font-awesome/fonts/';-->
14-
<!--@import '~font-awesome/scss/font-awesome.scss';-->
15-
<!--/* Import Simple Line Icons Set */-->
16-
<!--$simple-line-font-path: '~simple-line-icons/fonts/';-->
17-
<!--@import '~simple-line-icons/scss/simple-line-icons.scss';-->
18-
<!--/* Import Flag Icons Set */-->
19-
<!--@import '~flag-icon-css/sass/flag-icon.scss';-->
20-
<!--/* Import Bootstrap Vue Styles */-->
21-
<!--@import 'bootstrap-vue/dist/bootstrap-vue.css';-->
22-
<!--/* Import Main styles for this application */-->
23-
<!--@import '../scss/style';-->
24-
<!--/*@import './assets/scss/style';*/-->
25-
<!--</style>-->
26-
2711
<style lang="scss">
12+
// CoreUI Icons Set
13+
@import '../node_modules/@coreui/icons/css/coreui-icons.min.css';
2814
/* Import Font Awesome Icons Set */
2915
$fa-font-path: '~font-awesome/fonts/';
3016
@import '~font-awesome/scss/font-awesome.scss';

src/_nav.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,14 +157,19 @@ export default {
157157
icon: 'icon-star',
158158
children: [
159159
{
160-
name: 'Flags',
161-
url: '/icons/flags',
160+
name: 'CoreUI Icons',
161+
url: '/icons/coreui-icons',
162162
icon: 'icon-star',
163163
badge: {
164-
variant: 'success',
164+
variant: 'info',
165165
text: 'NEW'
166166
}
167167
},
168+
{
169+
name: 'Flags',
170+
url: '/icons/flags',
171+
icon: 'icon-star'
172+
},
168173
{
169174
name: 'Font Awesome',
170175
url: '/icons/font-awesome',

src/router/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import BrandButtons from '@/views/buttons/BrandButtons'
4040
import Flags from '@/views/icons/Flags'
4141
import FontAwesome from '@/views/icons/FontAwesome'
4242
import SimpleLineIcons from '@/views/icons/SimpleLineIcons'
43+
import CoreUIIcons from '@/views/icons/CoreUIIcons'
4344

4445
// Views - Notifications
4546
import Alerts from '@/views/notifications/Alerts'
@@ -223,6 +224,11 @@ export default new Router({
223224
render (c) { return c('router-view') }
224225
},
225226
children: [
227+
{
228+
path: 'coreui-icons',
229+
name: 'CoreUI Icons',
230+
component: CoreUIIcons
231+
},
226232
{
227233
path: 'flags',
228234
name: 'Flags',

0 commit comments

Comments
 (0)