您好,登錄后才能下訂單哦!
這篇文章主要講解了“component的特點有哪些”,文中的講解內容簡單清晰,易于學習與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學習“component的特點有哪些”吧!
Component是一個對客戶端JavaScript包進行管理的工具,用于更好的構建Web應用。
component特點:
編寫模塊化commonjs組件
編寫包含樣式、圖片、腳本等內容的組件
無需注冊表發布或者帳號,使用github資料庫
可通過component-YOURCOMANDgit風格來擴展子命令
組件骨架創建的命令
從命令或者./component.json中安裝依賴
avoidnamesquattingthroughgithub'snamingconventions
使用--shandalone構建組件便于非組件用戶使用
通過簡單可靠的搜索來發現有用的包
可直接在命令行上查看文檔
簡單私有注冊表設置(只需一個文件服務器)
非常快速的安裝(50componentsin~4.5s)
非常快速的搜索(~300ms)
component安裝
npminstall-gcomponent
Component is a vertically integrated frontend solution, handling everything from package management to the build process, handling everything including HTML, JS, CSS, images, and fonts. Think of it as an opinionated npm + browserify + rework-npm + grunt/gulp/broccoli all wrapped into component build .
Want to know more about Component? Visit the guide or view the comparison with other solutions.
If you're confused about component, components, componentjs, please read disambiguation
Component 1.0.0: Several major new features have been added, some have been removed, and the project has been greatly reorganized. You may need to upgrade your version of node and/or npm to avoid breakage. Please see the detailed changelog. Component 0.x will not be maintained anymore.
感謝各位的閱讀,以上就是“component的特點有哪些”的內容了,經過本文的學習后,相信大家對component的特點有哪些這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是億速云,小編將為大家推送更多相關知識點的文章,歡迎關注!
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。