這篇文章主要講解了“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ù)器)
非常快速的安裝(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的特點有哪些這一問題有了更深刻的體會,具體使用情況還需要大家實踐驗證。這里是創(chuàng)新互聯(lián)網(wǎng)站建設(shè)公司,,小編將為大家推送更多相關(guān)知識點的文章,歡迎關(guān)注!
當(dāng)前名稱:component的特點有哪些-創(chuàng)新互聯(lián)
URL分享:http://www.chinadenli.net/article36/dhespg.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供云服務(wù)器、小程序開發(fā)、虛擬主機、網(wǎng)站導(dǎo)航、移動網(wǎng)站建設(shè)、網(wǎng)站內(nèi)鏈
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)
猜你還喜歡下面的內(nèi)容