Skip to content

Commit 6aa7a24

Browse files
committed
fix esm build imports
1 parent 30530b8 commit 6aa7a24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/devtools/views/components/module.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { set, nextTick } from 'vue'
1+
import Vue from 'vue'
22

33
const state = {
44
selected: null,
@@ -17,7 +17,7 @@ const mutations = {
1717
state.instances = Object.freeze(payload.instances)
1818
state.inspectedInstance = Object.freeze(payload.inspectedInstance)
1919
if (process.env.NODE_ENV !== 'production') {
20-
nextTick(() => {
20+
Vue.nextTick(() => {
2121
console.log(`devtools render took ${window.performance.now() - start}ms.`)
2222
})
2323
}
@@ -26,7 +26,7 @@ const mutations = {
2626
state.inspectedInstance = Object.freeze(instance)
2727
},
2828
TOGGLE_INSTANCE ({ expansionMap }, { id, expanded }) {
29-
set(expansionMap, id, expanded)
29+
Vue.set(expansionMap, id, expanded)
3030
}
3131
}
3232

0 commit comments

Comments
 (0)