diff --git a/package.json b/package.json index 456049f6..7f3b65db 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ }, "packageManager": "pnpm", "dependencies": { + "mitt": "^3.0.0", "vue": "^3.2.25" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f6d99911..501f31df 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,6 +7,7 @@ specifiers: '@vuepress/plugin-register-components': ^2.0.0-beta.36 husky: ^7.0.4 less: ^4.1.2 + mitt: ^3.0.0 typescript: ^4.5.4 vite: ^2.8.0 vue: ^3.2.25 @@ -14,6 +15,7 @@ specifiers: vuepress: ^2.0.0-beta.36 dependencies: + mitt: 3.0.0 vue: 3.2.31 devDependencies: @@ -2339,6 +2341,10 @@ packages: kind-of: 6.0.3 dev: true + /mitt/3.0.0: + resolution: {integrity: sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==} + dev: false + /ms/2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} dev: true diff --git a/src/App.vue b/src/App.vue index b80868a5..92444cb7 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,10 +1,15 @@