You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.
组件名统一为 index.js/html/css/less,例如 dropdown,方便了 Brix 拼接组件路径和加载,对于组件开发者却不够友好,会有为什么要这么强制约定的疑问。这个疑问应该是可以避免的。
参考了下 SPM 源服务器 的目录结构,组件根目录 gallery 下有文件 info.json,用于描述所有组件的信息,包括目录、名称、版本(路径)、稳定版本等,每个组件下同样有一个文件 info.json,用于描述当前组件的信息,组件的名称和结构则保持不变。
每个组件事实上需要有自己 独立的版本号,并且,基于描述组件信息的文件 info.json 可以生成一份 推荐的组件配置。
The text was updated successfully, but these errors were encountered: