indielayer / ui

Vue 3 & Nuxt 3 UI Library with Tailwind CSS 3. 🚀 Build and prototype fast web applications.

Home Page:https://indielayer.com/ui/docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ERROR Element is not defined (w/Nuxt 3.10.1)

erayturan opened this issue · comments

Hi guys,

I've got a bellowing error using Nuxt. Any idea?

"@indielayer/ui": "^1.5.1"
Nuxt 3.10.1 with Nitro 2.8.1                                                                                                                                                                                                                   13:55:55

 ERROR  Element is not defined                                                                                                                                                                                                                 13:55:55  

  at C:/dev/.../node_modules/@indielayer/ui/lib/index.umd.js:1:114569
  at C:/dev/.../node_modules/@indielayer/ui/lib/index.umd.js:1:146
  at C:/dev/.../node_modules/@indielayer/ui/lib/index.umd.js:1:339
  at evalModule (node_modules\jiti\dist\jiti.js:1:256443)
  at jiti (node_modules\jiti\dist\jiti.js:1:254371)
  at C:/dev/.../nuxt.config.ts:1:173
  at evalModule (node_modules\jiti\dist\jiti.js:1:256443)
  at Object.jiti (node_modules\jiti\dist\jiti.js:1:254371)
  at resolveConfig (/C:/dev/.../node_modules/c12/dist/index.mjs:326:26)
  at loadConfig (/C:/dev/.../node_modules/c12/dist/index.mjs:128:40)



 ERROR  Element is not defined   

Hi @erayturan. Should be fixed on 1.5.2, please see the changes on the nuxt demo project for configuration changes https://github.com/indielayer/ui/tree/main/packages/demo-nuxt