发现很少人写bower+Nexus私服搭建的教程,由于工作需要,就啃了下Nexus的官方文档,特此做个记录。
分两步:
- 1.
Nexus
方配置 - 2.
bower
方配置
Nexus方配置:
官方最简配置:
- Define Name
- Define URL for Remote storage e.g.
http://bower.herokuapp.com
- Select a Blob store for Storage
附图翻译下:
首先登录:
按下图做三步,出现图3
图3如下,点击红框跳转图4: