Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc8becc

Browse files
author
Yadi Apriyadi
committed
feat: update package portal-vue & remove slim property
1 parent 5173dd1 commit bc8becc

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"@nuxt/opencollective": "^0.3.2",
8484
"bootstrap": "^4.6.1",
8585
"popper.js": "^1.16.1",
86-
"portal-vue": "^2.1.7",
86+
"portal-vue": "3.0.0",
8787
"vue-functional-data-merge": "^3.1.0"
8888
},
8989
"devDependencies": {

src/components/toast/toast.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ export const BToast = /*#__PURE__*/ extend({
444444
name,
445445
to: this.computedToaster,
446446
order,
447-
slim: true,
447+
// slim: true,
448448
disabled: isStatic
449449
}
450450
},

src/components/toast/toaster.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export const BToaster = /*#__PURE__*/ extend({
111111
name: this.staticName,
112112
multiple: true,
113113
tag: 'div',
114-
slim: false,
114+
// slim: false,
115115
// transition: this.transition || DefaultTransition
116116
transition: DefaultTransition
117117
}

src/vue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { mergeData } from 'vue-functional-data-merge'
44
// --- Constants ---
55
const COMPONENT_UID_KEY = '_uid'
66

7-
const isVue3 = Vue.version.startsWith('3')
7+
const isVue3 = true
88

99
export const REF_FOR_KEY = isVue3 ? 'ref_for' : 'refInFor'
1010

0 commit comments

Comments
 (0)