TJ 推上说的 components 具体项目是什么样子的啊?
发布于 12 年前 作者 jiyinyiyong 5435 次浏览 最后一次编辑是 8 年前

看到一条推, 最近 components 这个关键词出现得好频繁… https://twitter.com/tjholowaychuk/status/251106657080315904

88 components already! and > 100 private components in our app

还有这个链接 https://github.com/component/component/wiki/Components

求介绍…

5 回复

客户端的npm?

今天公司要我做这个. 正在学习components中.

刚刚看了一下这个. https://npmjs.org/package/component

Component package manager consuming git repositories

好像是把Git上的repo作为component的源, 然后让前段的JavaScript像Node.js一样调用模块?

刚刚做了一个测试的component组件. https://github.com/meteormatt/components 可以通过下面的命令安装.

component install meteormatt/components

不过都是测试代码, 只是拿来玩而已. 没什么实际的内容.

enter image description here

看到今天终于大概有点看懂了. 那个项目应该叫component. 里面的所有项目叫components. 另外文件夹里的名字也是components. 然后核心的东西是component.json 至于那个repo 我个人感觉是就是个CLI, 类似SeaJS的包管理工具spm. 目前就会这么多. 然后在看web component, 那个专指前端用的component

回到顶部