# 前端安裝
## 復制git地址
1. 進入`Saber`項目首頁:
* 開源版:[https://gitee.com/smallc/Saber](https://gitee.com/smallc/Saber)
* 商業版:[https://git.bladex.vip/blade/Saber](https://git.bladex.vip/blade/Saber)
* 商業版購買地址:[https://bladex.vip/#/vip](https://bladex.vip/#/vip)
2. 復制`Saber`的`git`地址
* 開源版:
* 商業版:
3. 進入對應目錄后克隆代碼(windows可以用git bash客戶端)

## 安裝工程
1. 安裝yarn并配置淘寶源

~~~cpp
> npm install -g yarn --registry=https://registry.npm.taobao.org
~~~
~~~cpp
> yarn config set registry https://registry.npm.taobao.org -g
~~~
2. 進入Saber根目錄進行安裝
~~~
> cd Saber
~~~
~~~
> yarn install
~~~

## 導入工程
1. 打開WebStorm,點擊File選擇Open

2. 找到對應目錄的工程,并打開

3. 看到如下界面則說明導入成功
