跳到主要内容
ArcBlock Community

Import {} from @ different libraries than what is used for wrapper

JustHODL
支持
pages-kitdemoresolvedtutorial

Hey fam,

I'm trying to build some UI controllers but every time I try to import some other libraries I get this error: Failed to resolve module specifier "@". Relative references must start with either "/", "./", or "../".

Is there a way to do this? z1SubswWWkUtz75uZC5Qs56Fg3zspdnXypk

image.png

2 条回复

Yongzhuo Liang22个月前

Pages Kit custom components, for security and size control, we use the built-in package form, and can not freely import components

For more details, please refer to Custom Component

The problem you're having should be solved by using @blocklet/pages-kit/builtin/mui/material, or by importing the @mui dependencies in full using a CDN.

JustHODL22个月前

Amazing!! Thanks

回复