Giter Club home page Giter Club logo

Comments (1)

PerseveranceZ avatar PerseveranceZ commented on June 30, 2024

@lw1024
谢谢你的建议,开发者可以自行使用 index.js 来引入管理自己的组件这没错,不过你可以试试这样的方式,会把整个index.js 管理的所有组件都打包到JS bundle中,你可以看看weex-ui的引入其实还要修改.babelrc,使用babel-plugin-component,来引入需要的组件,以达到减小项目体积的目的,而且也无法保证开发者修改components的名称,综合考虑一下,就给一个文件夹,自行拓展最好。

from eros.

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.