Code Monkey home page Code Monkey logo

Comments (3)

andycall avatar andycall commented on August 17, 2024

空白文件?不构建?

from rax-app.

ChrisCindy avatar ChrisCindy commented on August 17, 2024

空白文件?不构建?

@andycall 可以构建也可以不构建,但是要确保 lib/index.js 文件存在。在小程序中该文件不会被用到,但是由于其是 package.json 中 main 字段对应的地址,因此需要用其来寻址

from rax-app.

yacheng avatar yacheng commented on August 17, 2024

空的 index 文件感觉没有什么实际作用,对于安装该组件的同学反而是一种误导,感觉这种情况可以修改 main 的指向

from rax-app.

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.