Skip to content

Commit e4f0cd4

Browse files
committed
chore: 打包验证
1 parent 26b234f commit e4f0cd4

File tree

7 files changed

+11
-10
lines changed

7 files changed

+11
-10
lines changed

dev-vue3/src/debug/vue_plugin.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dev-vue3/src/debug/vue_plugin.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev-vue3/src/main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
// import __ from './debug/hook.js'
33
// window.__VUE_PROD_DEVTOOLS__ = true
44
import VConsole from "vconsole";
5-
import { initPlugin } from './debug/vue_plugin.js'
5+
// import { initPlugin } from './debug/vue_plugin.js'
6+
import Devtools from './debug/vue_plugin.js'
67
import { createApp } from './debug/vue.esm-bundler.js'
78
// import Vue from 'vue/dist/vue.cjs.js'
89
// import Vue from 'vue/dist/vue.global.js'
@@ -26,7 +27,7 @@ import App from './App.vue'
2627
// }
2728
// },
2829
// };
29-
initPlugin(new VConsole());
30+
Devtools.initPlugin(new VConsole());
3031
// console.log("!!!!!!!!");
3132
// console.log(Vue)
3233
// window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit('init', Vue)

dist/vue_plugin.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

dist/vue_plugin.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,6 @@ export const initPlugin = function(vConsole){
7979
// },
8080
// configurable: false
8181
// })
82-
// export default {
83-
// initPlugin
84-
// }
82+
export default {
83+
initPlugin
84+
}

packages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-vconsole-devtools",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "vConsole vue-devtools plugin. Debug vue anywhere",
55
"main": "../dist/vue_plugin.js",
66
"repository": {

0 commit comments

Comments
 (0)