\r\nimport { defineConfig } from 'vite'\r\nimport vue from '@vitejs/plugin-vue'\r\nimport vueI18n from '@intlify/vite-plugin-vue-i18n'\r\n\r\n// https://vitejs.dev/config/\r\nconst path = require(\"path\")\r\nexport default defineConfig({\r\n test: {\r\n setupFiles: ['./tests/config.ts']\r\n },\r\n optimizeDeps: {\r\n exclude: ['vue-demi']\r\n },\r\n build: {\r\n lib: {\r\n entry: path.resolve(__dirname, 'src/install.ts'),\r\n name: 'vcp',\r\n formats: ['umd'],\r\n fileName: (format) => `vcp.${format}.ts`\r\n },\r\n rollupOptions: {\r\n external: ['vue', 'vueI18n', 'vue-demi',],\r\n output: {\r\n exports: 'named',\r\n globals: {\r\n 'vue-demi': 'VueDemi',\r\n 'vue': 'Vue',\r\n }\r\n }\r\n },\r\n },\r\n plugins: [\r\n vue({\r\n style: true,\r\n css: true\r\n }),\r\n vueI18n({\r\n include: path.resolve(__dirname, 'src/assets/translations.ts'),\r\n globalSFCScope: true,\r\n compositionOnly: false,\r\n }),\r\n ],\r\n server: {\r\n port: 8080\r\n },\r\n resolve: {\r\n dedupe: ['vue'],\r\n alias: {\r\n \"~\": path.resolve(__dirname, \"./src\"),\r\n \"@\": path.resolve(__dirname, \"./src\"),\r\n },\r\n },\r\n})\r\n\r\n```\r\n\r\npackage.json:\r\n```\r\n{\r\n \"name\": \"vcp\",\r\n \"version\": \"0.9.14\",\r\n \"private\": false,\r\n \"author\": \"Alireza Safari \u003Calireza.safaree@gmail.com> (http://alireza-safari.ir)\",\r\n \"license\": \"MIT\",\r\n \"main\": \"./dist/vcp.umd.ts\",\r\n \"description\": \"Vue Client Print with Template Builder\",\r\n \"exports\": {\r\n \".\": {\r\n \"require\": \"./dist/vcp.umd.ts\"\r\n },\r\n \"./dist/style.css\": \"./dist/style.css\"\r\n },\r\n \"keywords\": [\r\n \"vcp\",\r\n \"vue print\",\r\n \"vue client print\",\r\n \"template builder\",\r\n \"vue report\",\r\n \"vue report generator\"\r\n ],\r\n \"files\": [\r\n \"dist/*\"\r\n ],\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"https://github.com/alireza0sfr/vue-client-print\"\r\n },\r\n \"scripts\": {\r\n \"dev\": \"vite\",\r\n \"build\": \"vite build\",\r\n \"serve\": \"vite preview\",\r\n \"test\": \"vitest run --environment jsdom\",\r\n \"test:ui:\": \"vitest --environment jsdom --ui\",\r\n \"test:coverage\": \"vitest run --coverage --environment jsdom\",\r\n \"test:watch\": \"vitest --environment jsdom\"\r\n },\r\n \"dependencies\": {\r\n \"dom-to-image\": \"^2.6.0\",\r\n \"file-saver\": \"^2.0.5\",\r\n \"jsdom\": \"^19.0.0\",\r\n \"print-js\": \"^1.6.0\",\r\n \"register-service-worker\": \"^1.7.2\",\r\n \"typescript\": \"^4.7.2\",\r\n \"vitest\": \"^0.12.9\",\r\n \"vue-demi\": \"^0.12.5\",\r\n \"vue-i18n\": \"^9.1.10\"\r\n },\r\n \"peerDependencies\": {\r\n \"vue\": \">=2.0.0 || >=3.0.0\"\r\n },\r\n \"devDependencies\": {\r\n \"@intlify/vite-plugin-vue-i18n\": \"^3.4.0\",\r\n \"@vitejs/plugin-vue\": \"^2.3.3\",\r\n \"@vitest/ui\": \"^0.12.9\",\r\n \"@vue/compiler-sfc\": \"^3.2.36\",\r\n \"@vue/test-utils\": \"^2.0.0-rc.18\",\r\n \"c8\": \"^7.11.3\",\r\n \"cz-conventional-changelog\": \"^3.0.1\",\r\n \"vite\": \"^2.9.9\",\r\n \"vue\": \"^3.2.36\"\r\n }\r\n}\r\n\r\n```",[],161,"createElementVNode is not a function vite","2022-10-27T15:14:22Z","https://github.com/vueuse/vue-demi/issues/161",0.68445057,{"description":2873,"labels":2874,"number":2875,"owner":2857,"repository":2857,"state":2876,"title":2877,"updated_at":2878,"url":2879,"score":2880},"Upgrading from @vueuse/core ^4.11.0 -> @vueuse/core ^7.3.0 results in the title error\r\n\r\n\r\n\r\n\r\nRunning \r\n`npx vue-demi-fix` or `npx vue-demi-switch 2`\r\nDoes not fix the issue.\r\n\r\nApplication is running\u003Cbr/>\r\n`\"vue\":\"^2.6.14\"`\r\n`\"@vue/composition-api\":\"^1.4.1\"`\r\n\r\nCan anyone advise?\r\n\r\nMy only resolution atm is to downgrade and duplicate vueUse functionality intending for use.\r\n",[],1070,"closed","Vue2 + Vue composition-api: Error in data(): \"TypeError: vueDemi.getCurrentScope is not a function\"","2022-09-21T19:28:08Z","https://github.com/vueuse/vueuse/issues/1070",0.6487839,{"description":2882,"labels":2883,"number":2887,"owner":2857,"repository":2857,"state":2876,"title":2888,"updated_at":2889,"url":2890,"score":2891},"The type definition file for the Vue 3 version of Vueuse attempts to import `@vue/composition-api` which causes errors at build time. I don't believe this package is needed for Vue 3 and installing it causes more errors as it depends on Vue 2\r\n\r\nRelevant Packages:\r\n```\r\n\"@vueuse/core\": \"^3.0.34\",\r\n\"core-js\": \"^3.6.4\",\r\n\"vue\": \"^3.0.0-beta.17\"\r\n```\r\n\r\nError Log:\r\n```\r\nERROR Failed to compile with 2 errors5:22:59 AM\r\n1:22:59 AM: error in /opt/build/repo/node_modules/@vueuse/core/index.d.ts\r\n1:22:59 AM: ERROR in /opt/build/repo/node_modules/@vueuse/core/index.d.ts(1,51):\r\n1:22:59 AM: 1:51 Cannot find module '@vue/composition-api' or its corresponding type declarations.\r\n1:22:59 AM: > 1 | import { Ref, WatchStopHandle, ComputedRef } from '@vue/composition-api';\r\n1:22:59 AM: | ^\r\n1:22:59 AM: 2 | import { Ref as Ref$1 } from '@vue/runtime-dom';\r\n1:22:59 AM: 3 | \r\n1:22:59 AM: 4 | declare function createGlobalState\u003CT extends object>(factory: () => T): () => T;\r\n1:22:59 AM: error in /opt/build/repo/node_modules/@vueuse/core/index.d.ts\r\n1:22:59 AM: ERROR in /opt/build/repo/node_modules/@vueuse/core/index.d.ts(7,23):\r\n1:22:59 AM: 7:23 Cannot find module '@vue/composition-api' or its corresponding type declarations.\r\n1:22:59 AM: 5 | \r\n1:22:59 AM: 6 | declare function useAsyncState\u003CT>(promise: Promise\u003CT>, defaultState: T, delay?: number, catchFn?: (e: Error) => void): {\r\n1:22:59 AM: > 7 | state: Ref\u003Cimport(\"@vue/composition-api\").UnwrapRef\u003CT>>;\r\n1:22:59 AM: | ^\r\n1:22:59 AM: 8 | ready: Ref\u003Cboolean>;\r\n1:22:59 AM: 9 | };\r\n```",[2884],{"name":2885,"color":2886},"bug","d73a4a",94,"Incorrect type definition file for Vue 3 version of Vueuse.","2020-07-01T18:11:39Z","https://github.com/vueuse/vueuse/issues/94",0.6599688,{"description":2893,"labels":2894,"number":1508,"owner":2857,"repository":2858,"state":2876,"title":2895,"updated_at":2896,"url":2897,"score":2898},"我想打包一个 vue2、vue3 都可用的组件库\r\n打包完后的组件,在 vue3 项目中使用没有问题\r\n但是在 vue2 项目中运行时报了如下错误\r\n```\r\nUncaught TypeError: e.defineComponent is not a function\r\n at eval (index.js?dead:6)\r\n at eval (index.js?dead:6)\r\n at eval (index.js?dead:6)\r\n at Object.../../long-bridge/fe-toolbox/packages/vue3-components/lib/LbNoticeBar/index.js (app.js:937)\r\n at __webpack_require__ (app.js:849)\r\n at fn (app.js:151)\r\n at eval (cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js&:4)\r\n at Module../node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js& (app.js:960)\r\n at __webpack_require__ (app.js:849)\r\n at fn (app.js:151)\r\n```\r\n\r\n当我修改打包命令 ```vue-demi-switch 2 && yarn build``` 打包后\r\n```\r\nUncaught TypeError: o.withScopeId is not a function\r\n at eval (index.js?dead:6)\r\n at eval (index.js?dead:6)\r\n at eval (index.js?dead:6)\r\n at Object.../../long-bridge/fe-toolbox/packages/vue3-components/lib/LbNoticeBar/index.js (app.js:937)\r\n at __webpack_require__ (app.js:849)\r\n at fn (app.js:151)\r\n at eval (cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js&:4)\r\n at Module../node_modules/cache-loader/dist/cjs.js?!./node_modules/babel-loader/lib/index.js!./node_modules/cache-loader/dist/cjs.js?!./node_modules/vue-loader/lib/index.js?!./src/App.vue?vue&type=script&lang=js& (app.js:960)\r\n at __webpack_require__ (app.js:849)\r\n at fn (app.js:151)\r\n```\r\n\r\n这是我其中的一个组件 Icon 组件\r\n```\r\n\u003Ctemplate>\r\n \u003Csvg class=\"icon iconfont\" aria-hidden=\"true\" @click=\"e => $emit('click', e)\">\r\n \u003Cuse :xlink:href=\"`#icon-${name}`\">\u003C/use>\r\n \u003C/svg>\r\n\u003C/template>\r\n\r\n\u003Cscript>\r\nimport { defineComponent } from 'vue-demi'\r\n\r\nexport default defineComponent({\r\n name: 'LbIcon',\r\n props: {\r\n /**\r\n * isRequired.\r\n */\r\n name: {\r\n type: String,\r\n required: true\r\n }\r\n }\r\n})\r\n\u003C/script>\r\n\r\n\u003Cstyle lang=\"scss\" scoped>\r\n.icon {\r\n width: 1em;\r\n height: 1em;\r\n overflow: hidden;\r\n vertical-align: -0.15em;\r\n cursor: pointer;\r\n fill: currentColor;\r\n}\r\n\u003C/style>\r\n\r\n```\r\n这是打包后的代码\r\n```\r\n/*!\r\n * @lb-public/vue3-components v0.5.0 Mon Jul 26 2021 19:07:24 GMT+0800 (中国标准时间)\r\n * (c) 2021 @lbf2e.\r\n * Released under the MIT License.\r\n */\r\n!(function (e, n) {\r\n 'object' == typeof exports && 'undefined' != typeof module\r\n ? (module.exports = n(require('vue-demi'), require('vue')))\r\n : 'function' == typeof define && define.amd\r\n ? define(['vue-demi', 'vue'], n)\r\n : ((e = 'undefined' != typeof globalThis ? globalThis : e || self).index = n(e.VueDemi, e.Vue))\r\n})(this, function (e, n) {\r\n 'use strict'\r\n const i = e.defineComponent({ name: 'LbIcon', props: { name: { type: String, required: !0 } } }),\r\n o = n.withScopeId('data-v-7a1e4f22')(\r\n (e, i, o, t, d, r) => (\r\n n.openBlock(),\r\n n.createBlock(\r\n 'svg',\r\n { class: 'icon iconfont', 'aria-hidden': 'true', onClick: i[1] || (i[1] = n => e.$emit('click', n)) },\r\n [n.createVNode('use', { 'xlink:href': `#icon-${e.name}` }, null, 8, ['xlink:href'])]\r\n )\r\n )\r\n )\r\n return (i.render = o), (i.__scopeId = 'data-v-7a1e4f22'), i\r\n})\r\n```",[],"TypeError: o.resolveComponent is not a function & 能否提供一个打包 vue2、vue3 组件库的 demo","2024-07-30T09:16:04Z","https://github.com/vueuse/vue-demi/issues/80",0.66791385,{"description":2900,"labels":2901,"number":2902,"owner":2857,"repository":2858,"state":2876,"title":2903,"updated_at":2904,"url":2905,"score":2906},"I'm trying to set up a component library with vue-demi (Vite + Vue 3 + Setup Script). Importing thing work fine in Vue 3 apps, but fail for Vue 2. The resulting bundle looks like this:\r\n\r\nBaseButton.vue to be imported by Vue2/3 App\r\n```vue\r\n\u003Cscript setup lang=\"ts\">\r\nimport { ref } from \"vue-demi\";\r\n\r\ndefineProps({\r\n label: {\r\n type: String,\r\n default: \"\",\r\n },\r\n});\r\n\r\nconst counter = ref(0);\r\n\u003C/script>\r\n\r\n\u003Ctemplate>\r\n \u003Clabel>\r\n {{ label }}\r\n {{ counter }}\r\n \u003Cbutton v-bind=\"$attrs\" @click=\"counter++\">\r\n \u003Cslot />\r\n \u003C/button>\r\n \u003C/label>\r\n\u003C/template>\r\n```\r\n\r\nBuild output:\r\n```js\r\nimport { defineComponent, ref, openBlock, createElementBlock, createTextVNode, toDisplayString, createElementVNode, mergeProps, renderSlot } from \"vue\";\r\nconst _sfc_main = /* @__PURE__ */ defineComponent({\r\n props: {\r\n label: {\r\n type: String,\r\n default: \"\"\r\n }\r\n },\r\n setup(__props) {\r\n const counter = ref(0);\r\n return (_ctx, _cache) => {\r\n return openBlock(), createElementBlock(\"label\", null, [\r\n createTextVNode(toDisplayString(__props.label) + \" \" + toDisplayString(counter.value) + \" \", 1),\r\n createElementVNode(\"button\", mergeProps(_ctx.$attrs, {\r\n onClick: _cache[0] || (_cache[0] = ($event) => counter.value++)\r\n }), [\r\n renderSlot(_ctx.$slots, \"default\")\r\n ], 16)\r\n ]);\r\n };\r\n }\r\n});\r\nexport { _sfc_main as BaseButton };\r\n```\r\n\r\nIn Vue 2 I run into `Uncaught TypeError: Object(...) is not a function` error with `defineComponent()`. I suppose it should be importing from \"vue-demi\" instead of \"vue\"?\r\n\r\nPackage.json\r\n```json\r\n\"dependencies\": {\r\n \"vue-demi\": \"^0.12.4\"\r\n },\r\n \"devDependencies\": {\r\n \"@types/node\": \"^17.0.21\",\r\n \"@vitejs/plugin-vue\": \"^2.2.0\",\r\n \"@vue/composition-api\": \"^1.4.9\",\r\n \"typescript\": \"^4.5.4\",\r\n \"vite\": \"^2.8.0\",\r\n \"vue\": \"^3.2.25\",\r\n \"vue-tsc\": \"^0.29.8\"\r\n },\r\n \"peerDependencies\": {\r\n \"@vue/composition-api\": \"^1.0.0-rc.1\",\r\n \"vue\": \"^2.0.0 || >=3.0.0\"\r\n },\r\n \"peerDependenciesMeta\": {\r\n \"@vue/composition-api\": {\r\n \"optional\": true\r\n }\r\n },\r\n```\r\n\r\nvite.config.ts\r\n```ts\r\nexport default defineConfig({\r\n plugins: [vue()],\r\n build: {\r\n lib: {\r\n entry: path.resolve(__dirname, \"src/lib.ts\"),\r\n name: \"myLib\",\r\n fileName: (format) => `lib.${format}.js`,\r\n },\r\n rollupOptions: {\r\n // make sure to externalize deps that shouldn't be bundled\r\n // into your library\r\n external: [\"vue\"],\r\n output: {\r\n // Provide global variables to use in the UMD build\r\n // for externalized deps\r\n globals: {\r\n vue: \"Vue\",\r\n },\r\n },\r\n },\r\n },\r\n optimizeDeps: {\r\n exclude: [\"vue-demi\"],\r\n },\r\n});\r\n```",[],145,"Not running on Vue 2 App","2022-09-04T15:48:05Z","https://github.com/vueuse/vue-demi/issues/145",0.6683254,{"description":2908,"labels":2909,"number":2910,"owner":2857,"repository":2857,"state":2876,"title":2911,"updated_at":2912,"url":2913,"score":2914},"I've created a project with vite+vue2(using plugin)+vueuse and it looks like vueuse doesn't work properly in this setup.\r\n\r\nThe error I get:\r\n\r\n```\r\nvue.runtime.esm.js:619 [Vue warn]: Error in data(): \"ReferenceError: ref3 is not defined\"\r\n\r\nfound in\r\n\r\n---> \u003CAnonymous>\r\n \u003CRoot>\r\nwarn @ vue.runtime.esm.js:619\r\nvue.runtime.esm.js:1888 ReferenceError: ref3 is not defined\r\n at Object.ref (index.esm.js:1)\r\n at useCounter (index.esm.js:698)\r\n at setup (App.vue:21)\r\n at mergedSetupFn (vue-composition-api.esm.js:1741)\r\n at vue-composition-api.esm.js:1527\r\n at activateCurrentInstance (vue-composition-api.esm.js:1454)\r\n at initSetup (vue-composition-api.esm.js:1525)\r\n at VueComponent.wrappedData (vue-composition-api.esm.js:1509)\r\n at getData (vue.runtime.esm.js:4748)\r\n at initData (vue.runtime.esm.js:4705)\r\n```\r\n\r\nI tried `useCounter` and `useStorage`, but I think it can be replicated with other methods.\r\n\r\nHere is the project link to replicate: \r\nhttps://github.com/localhost5001/vite-vue2-vueuse-template",[],485,"Incompatible with vite and vue2","2021-05-05T20:52:10Z","https://github.com/vueuse/vueuse/issues/485",0.66848207,{"description":2916,"labels":2917,"number":2918,"owner":2857,"repository":2857,"state":2876,"title":2919,"updated_at":2920,"url":2921,"score":2922},"Vue.js v4.5.13 with typescript\r\nVueuse v6.2.1\r\n\r\nI'm getting a lot of 'can't import' errors when using this package, I have included some of them. I installed using npm.\r\n\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'bypassFilter' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'clamp' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'computed' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'containsProp' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'createEventHook' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'createFilterWrapper' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'createSingletonPromise' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'customRef' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'getCurrentInstance' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'getCurrentScope' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'identity' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs\r\nCan't import the named export 'ignorableWatch' from non EcmaScript module (only default export is available)\r\n error in ./node_modules/@vueuse/core/index.mjs",[],724,"Can't import errors","2021-09-07T14:03:58Z","https://github.com/vueuse/vueuse/issues/724",0.6690551,{"description":2924,"labels":2925,"number":2929,"owner":2857,"repository":2858,"state":2876,"title":2930,"updated_at":2931,"url":2932,"score":2933},"It seems somehow vue2 is not resolved in vue-demi.\r\n###Env:###\r\nI make the lib dependency same as readme recommended.\r\nAnd the project using the lib is in vue 3.0.0.\r\nhere is the library package.json:\r\n\r\n\r\n ###Error:###\r\n error in ../tools/gei-framework/node_modules/vue-demi/lib/index.mjs\r\n\r\n\"export 'default' (reexported as 'Vue') was not found in 'vue'.\r\n\r\n\r\n\r\n",[2926],{"name":2927,"color":2928},"needs reproduction","fcd735",97,"export default was not found in 'vue'.","2021-09-01T02:08:40Z","https://github.com/vueuse/vue-demi/issues/97",0.6707184,{"description":2935,"labels":2936,"number":2937,"owner":2857,"repository":2857,"state":2876,"title":2938,"updated_at":2939,"url":2940,"score":2941},"Not sure if it's a `@vueuse` issue\r\n\r\n# Environment\r\n\r\n- Operating System: Windows_NT\r\n- Node Version: v16.13.0\r\n- Nuxt Version: 3.0.0-27324955.23397e6\r\n- Element-Plus version: 1.2.0-beta.6\r\n- Package Manager: pnpm@6.24.1\r\n- Bundler: Vite\r\n- User Config: -\r\n- Runtime Modules: -\r\n- Build Modules: -\r\n\r\n# Reproduction\r\n\r\n```shell\r\ngit clone https://github.com/element-plus/element-plus-nuxt-starter.git\r\n\r\ncd element-plus-nuxt-starter\r\n\r\npnpm install\r\n\r\npnpm run dev\r\n\r\n# Browser access: http://localhost:3000\r\n```\r\n\r\ntouch `package.json`\r\n\r\n```json\r\n{\r\n \"private\": true,\r\n \"scripts\": {\r\n \"build\": \"nuxi build\",\r\n \"dev\": \"nuxi dev\",\r\n \"start\": \"node .output/server/index.mjs\",\r\n \"generate\": \"export NITRO_PRESET=browser && npm run build\"\r\n },\r\n \"dependencies\": {\r\n \"pinia\": \"^2.0.5\"\r\n },\r\n \"devDependencies\": {\r\n \"@pinia/nuxt\": \"^0.1.6\",\r\n \"element-plus\": \"1.2.0-beta.6\",\r\n \"nuxt3\": \"3.0.0-27324955.23397e6\",\r\n \"sass\": \"^1.44.0\",\r\n \"typescript\": \"^4.5.4\"\r\n },\r\n \"pnpm\": {\r\n \"overrides\": {\r\n \"@nuxt/kit\": \"npm:@nuxt/kit-edge@3.0.0-27324955.23397e6\",\r\n \"@nuxt/kit-edge\": \"3.0.0-27324955.23397e6\",\r\n \"@vueuse/core\": \"7.3.0\",\r\n \"@vueuse/shared\": \"7.3.0\"\r\n }\r\n }\r\n}\r\n```\r\n\r\n\r\n\r\n# Describe the bug\r\n\r\n```javascript\r\nUncaught Error: Dynamic require of \"vue-demi\" is not supported\r\n at chunk-EABY2BFN.js?v=9c4aff8c:26\r\n at node_modules/.pnpm/registry.npmmirror.com+@vueuse+shared@7.3.0/node_modules/@vueuse/shared/index.cjs (index.cjs:5)\r\n at __require2 (chunk-EABY2BFN.js?v=9c4aff8c:32)\r\n at node_modules/.pnpm/registry.npmmirror.com+@vueuse+core@7.3.0/node_modules/@vueuse/core/index.cjs (index.cjs:5)\r\n at __require2 (chunk-EABY2BFN.js?v=9c4aff8c:32)\r\n at node_modules/.pnpm/registry.npmmirror.com+element-plus@1.2.0-beta.6/node_modules/element-plus/lib/hooks/use-modal/index.js (aria.ts:178)\r\n at __require2 (chunk-EABY2BFN.js?v=9c4aff8c:32)\r\n at node_modules/.pnpm/registry.npmmirror.com+element-plus@1.2.0-beta.6/node_modules/element-plus/lib/hooks/index.js (index.js:12)\r\n at __require2 (chunk-EABY2BFN.js?v=9c4aff8c:32)\r\n at node_modules/.pnpm/registry.npmmirror.com+element-plus@1.2.0-beta.6/node_modules/element-plus/lib/make-installer.js (version.ts:1)\r\n```\r\n\r\n\r\n\r\n\r\n# Additional context\r\n\r\nNo response\r\n\r\n# Logs\r\n\r\nNo response",[],1069,"Uncaught Error: Dynamic require of \"vue-demi\" is not supported","2022-03-01T07:49:33Z","https://github.com/vueuse/vueuse/issues/1069",0.6712657,["Reactive",2943],{},["Set"],["ShallowReactive",2946],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fHFZxR8oxSjS6LlaW-kFGdvdm8_BGSSsC_bUcwYDkGjg":-1},"/vueuse/vue-demi/62"]