CNode
查看回复

回复 (5)

I
imzshh#1·14 年前

客户端的npm?

M
meteormatt#2·14 年前

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

M
meteormatt#3·14 年前

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

Component package manager consuming git repositories

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

M
meteormatt#4·14 年前

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

component install meteormatt/components

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

enter image description here

M
meteormatt#5·14 年前

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

参与回复
登录后即可参与回复。登录