-
-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Closed
Labels
need more infoFurther information is requestedFurther information is requested
Description
Vue version
3.4.21
Link to minimal reproduction
Steps to reproduce
use defineComponent in @element-plus/icons-vue@2.3.1
What is expected?
No errors
What is actually happening?
Error that breaks the application.
Uncaught TypeError: isFunction is not a function
at defineComponent (runtime-core.esm-bundler.js:2440:10)
at index.js:7:80
file:@VUE+runtime-core@3.4.21/node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js
/*! #__NO_SIDE_EFFECTS__ */
// @__NO_SIDE_EFFECTS__
function defineComponent(options, extraOptions) {
return isFunction(options) ? (
// #8326: extend call and options.name access are considered side-effects
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
/* @__PURE__ */ (() => extend({ name: options.name }, extraOptions, { setup: options }))()
) : options;
}
System Info
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz
Memory: 2.17 GB / 15.83 GB
Binaries:
Node: 18.12.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
pnpm: 8.6.11 - ~\AppData\Local\pnpm\pnpm.CMD
Browsers:
Internet Explorer: 11.0.19041.3636
Any additional comments?
No response
Metadata
Metadata
Assignees
Labels
need more infoFurther information is requestedFurther information is requested