Skip to content

Commit 97122df

Browse files
committed
release v0.5.5
1 parent eb1e539 commit 97122df

File tree

6 files changed

+13
-7
lines changed

6 files changed

+13
-7
lines changed

example/nuxt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
},
99
"devDependencies": {
1010
"nuxt": "3.0.0-rc.1",
11-
"vite-plugin-vue-inspector": "0.5.4"
11+
"vite-plugin-vue-inspector": "0.5.5"
1212
}
1313
}

example/vue2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"sass": "^1.49.9",
1515
"typescript": "^4.5.2",
1616
"vite": "2.9.1",
17-
"vite-plugin-vue-inspector": "0.5.4",
17+
"vite-plugin-vue-inspector": "0.5.5",
1818
"vite-plugin-vue2": "^1.9.3"
1919
}
2020
}

example/vue3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
"sass": "^1.49.9",
1616
"typescript": "^4.5.2",
1717
"vite": "2.9.1",
18-
"vite-plugin-vue-inspector": "0.5.4"
18+
"vite-plugin-vue-inspector": "0.5.5"
1919
}
2020
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-plugin-vue-inspector",
3-
"version": "0.5.4",
3+
"version": "0.5.5",
44
"description": "jump to local IDE source code while click the element of browser automatically.",
55
"keywords": [
66
"vue",

src/overlay/Overlay.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,17 @@
3939
<script>
4040
const isClient = typeof window !== "undefined"
4141
export default {
42+
props: {
43+
enabled: {
44+
type: Boolean,
45+
default: true,
46+
},
47+
},
4248
data() {
4349
return {
4450
target: null,
4551
overlayTarget: null,
46-
disabled: isClient ? !(window.__VUE_INSPECTOR_INITIAL_ENABLED__ === undefined ? true : window.__VUE_INSPECTOR_INITIAL_ENABLED__) : false,
52+
disabled: isClient ? !(window.__VUE_INSPECTOR_INITIAL_ENABLED__) : !this.enabled,
4753
overlayVisible: false,
4854
4955
navigationParams: {

src/overlay/index.json

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)