File tree 4 files changed +13
-25
lines changed
4 files changed +13
-25
lines changed Original file line number Diff line number Diff line change 1
1
# @coreui/vue
2
2
3
+ [ ![ Npm badge] ( https://img.shields.io/npm/v/@coreui/vue.svg )] [ npm ]
3
4
![ Rollup badge] ( https://img.shields.io/badge/Rollup-^0.53.3-ff69b4.svg )
4
5
![ Jest] ( https://img.shields.io/badge/Jest-^22.0.4-blue.svg )
5
6
![ Vue] ( https://img.shields.io/badge/Vue-^2.5.13-brightgreen.svg )
6
- ![ Npm badge] ( https://img.shields.io/npm/v/@coreui/vue.svg )
7
+
8
+ [ npm ] : https://www.npmjs.com/package/@coreui/vue
7
9
8
10
> A [ @coreui/vue ] ( https://coreui.io/vue ) ` v2 ` library project
9
11
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @coreui/vue" ,
3
3
"description" : " CoreUI Vue Bootstrap 4 layout components" ,
4
- "version" : " 2.0.0-beta.0 " ,
4
+ "version" : " 2.0.0-beta.1 " ,
5
5
"license" : " MIT" ,
6
6
"main" : " dist/coreui-vue.common.js" ,
7
7
"module" : " dist/coreui-vue.esm.js" ,
82
82
"jest-serializer-html" : " ^5.0.0" ,
83
83
"jest-serializer-vue" : " ^1.0.0" ,
84
84
"jest-vue-preprocessor" : " ^1.4.0" ,
85
- "lint-staged" : " ^7.1.2 " ,
85
+ "lint-staged" : " ^7.1.3 " ,
86
86
"lodash" : " ^4.17.10" ,
87
87
"node-sass" : " ^4.9.0" ,
88
- "prettier" : " ^1.12.1 " ,
88
+ "prettier" : " ^1.13.4 " ,
89
89
"rollup" : " ^0.59.4" ,
90
90
"rollup-plugin-babel" : " ^3.0.4" ,
91
91
"rollup-plugin-commonjs" : " ^9.1.3" ,
96
96
"rollup-plugin-replace" : " ^2.0.0" ,
97
97
"rollup-plugin-uglify" : " ^3.0.0" ,
98
98
"rollup-plugin-vue" : " ^4.2.0" ,
99
- "sass-loader" : " ^7.0.1 " ,
99
+ "sass-loader" : " ^7.0.2 " ,
100
100
"uglify-es" : " ^3.3.9" ,
101
101
"vue" : " ^2.5.16" ,
102
102
"vue-jest" : " ^2.6.0" ,
Original file line number Diff line number Diff line change 5
5
</template >
6
6
7
7
<script >
8
- // import { asideMenuCssClasses, validBreakpoints, checkBreakpoint } from '../../shared/classes'
9
-
10
8
export default {
11
9
name: ' AppAside' ,
12
10
props: {
@@ -26,7 +24,6 @@ export default {
26
24
mounted : function () {
27
25
this .isFixed (this .fixed )
28
26
this .isOffCanvas (this .offCanvas )
29
- // this.displayBreakpoint(this.display)
30
27
},
31
28
methods: {
32
29
isFixed (fixed ) {
@@ -36,13 +33,6 @@ export default {
36
33
isOffCanvas (offCanvas ) {
37
34
offCanvas ? document .body .classList .add (' aside-menu-off-canvas' ) : document .body .classList .remove (' aside-menu-off-canvas' )
38
35
}
39
- // displayBreakpoint (display) {
40
- // let cssClass = asideMenuCssClasses[0]
41
- // if (display && checkBreakpoint(display, validBreakpoints)) {
42
- // cssClass = `aside-menu-${display}-show`
43
- // }
44
- // document.body.classList.add(cssClass)
45
- // }
46
36
}
47
37
}
48
38
</script >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<b-nav-item-dropdown :right =" right" :no-caret =" noCaret" >
3
3
<template slot="button-content">
4
- <slot name =" button-content" >
5
- <img
6
- src =" static/img/avatars/6.jpg"
7
- class =" img-avatar"
8
- alt =" admin@bootstrapmaster.com" />
4
+ <slot name =" header" >
5
+ ❔ ;
9
6
</slot >
10
7
</template >
11
- <slot >
12
- <div :style =" { right: 'auto', height: '400px' }" >dropdown</div >
8
+ <slot name =" dropdown" >
9
+ <div :style =" { right: 'auto', height: '200px' }" >
10
+ <span class =" text-center" >dropdown</span >
11
+ </div >
13
12
</slot >
14
13
</b-nav-item-dropdown >
15
14
</template >
@@ -25,9 +24,6 @@ export default {
25
24
type: Boolean ,
26
25
default: false
27
26
}
28
- },
29
- data : () => {
30
- return { itemsCount: 42 }
31
27
}
32
28
}
33
29
</script >
You can’t perform that action at this time.
0 commit comments