您好,登錄后才能下訂單哦!
這篇文章主要講解了“component的特點有哪些”,文中的講解內(nèi)容簡單清晰,易于學(xué)習(xí)與理解,下面請大家跟著小編的思路慢慢深入,一起來研究和學(xué)習(xí)“component的特點有哪些”吧!
Component是一個對客戶端JavaScript包進(jìn)行管理的工具,用于更好的構(gòu)建Web應(yīng)用。
component特點:
編寫模塊化commonjs組件
編寫包含樣式、圖片、腳本等內(nèi)容的組件
無需注冊表發(fā)布或者帳號,使用github資料庫
可通過component-YOURCOMANDgit風(fēng)格來擴展子命令
組件骨架創(chuàng)建的命令
從命令或者./component.json中安裝依賴
avoidnamesquattingthroughgithub'snamingconventions
使用--shandalone構(gòu)建組件便于非組件用戶使用
通過簡單可靠的搜索來發(fā)現(xiàn)有用的包
可直接在命令行上查看文檔
簡單私有注冊表設(shè)置(只需一個文件服務(wù)器)
非??焖俚陌惭b(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的特點有哪些”的內(nèi)容了,經(jīng)過本文的學(xué)習(xí)后,相信大家對component的特點有哪些這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是億速云,小編將為大家推送更多相關(guān)知識點的文章,歡迎關(guān)注!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。