Giter VIP home page Giter VIP logo

Comments (3)

yyfrankyy avatar yyfrankyy commented on September 28, 2024

海的目标还在的,至于如何通过技术实现自动wrapper,只不过是在权衡多少需要我们帮忙做掉,多少不需要做掉。

使用seajs,可以就单独用jQuery构造起来一个应用,一样也可以通过KISSY构造起来另外一个应用,但是应用内部,使用者有责任去做选择,要么使用jQuery,要么使用其他类似的。

spm的目标,仅仅是wrapping工具,模块推荐,至于怎么组合这些模块,不用太关心,jquery插件,就是一个依赖jquery的三方包么?部分npm的模块,一样会在内部依赖一些第三方模块,这种关系本应存在。

css,图片等静态资源的wrapping,需要好好过滤一下,哪些要做,哪些不做。不做的,使用者自行在其他地方去添加引用。

from spm.

yyfrankyy avatar yyfrankyy commented on September 28, 2024

https://github.com/seajs/spm/issues/36

参考这一个feature,提供整个package的时候,css/image等信息可以保留原来的相对路径,进行引用。

from spm.

lifesinger avatar lifesinger commented on September 28, 2024

转移到 dew 项目,按照实际项目的需求,手动封装甚至重写某些复杂模块。

选择权交给用户自己,但鼓励用户将封装过的模块,尽可能分享出来。

from spm.

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.