Coder Social home page Coder Social logo

Comments (4)

xcsweb avatar xcsweb commented on June 3, 2024

我把ElementUI里面我用不到的全部都排除了,重新注册的,再把新的input覆盖原来的element-input

from babel-plugin-component.

xcsweb avatar xcsweb commented on June 3, 2024

https://pic4.zhimg.com/80/v2-7c2b496e2220334b95c75baa404da5c2_720w.png
,查出来了,[email protected][email protected] element-ui.d.ts ,
https://pic3.zhimg.com/80/v2-4e30e528d18f93ae0af82992d9fb42e4_720w.png
,因为我有babel-plugin-component,导致
https://pic1.zhimg.com/80/v2-391550ac6b7ff919b17ba65bf42c9db6_720w.png
https://pic2.zhimg.com/80/v2-30fe989eb1758677e7923e7aabe3a658_720w.png
https://pic1.zhimg.com/80/v2-ece7017f05d93325d82a8b2f53159dd1_720w.png
我的使用和官网提示的区别不大

from babel-plugin-component.

Liubasara avatar Liubasara commented on June 3, 2024

https://pic4.zhimg.com/80/v2-7c2b496e2220334b95c75baa404da5c2_720w.png ,查出来了,[email protected][email protected] element-ui.d.ts , https://pic3.zhimg.com/80/v2-4e30e528d18f93ae0af82992d9fb42e4_720w.png ,因为我有babel-plugin-component,导致 https://pic1.zhimg.com/80/v2-391550ac6b7ff919b17ba65bf42c9db6_720w.png https://pic2.zhimg.com/80/v2-30fe989eb1758677e7923e7aabe3a658_720w.png https://pic1.zhimg.com/80/v2-ece7017f05d93325d82a8b2f53159dd1_720w.png 我的使用和官网提示的区别不大

我这边也遇到了相同的问题,请问大佬是如何解决的?

from babel-plugin-component.

chenkitchen avatar chenkitchen commented on June 3, 2024

全局注册的element,改成按需引用

from babel-plugin-component.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.