一、環境搭建
1,安裝ripple模擬器
如果已經注冊了淘寶國內鏡像使用下面命令
cnpm install -g ripple-emulator
顯示結果如下:

2,安裝vs code 下載地址https://code.visualstudio.com/
一路next 微軟東西就是好
3,使用vs code 打開項目目錄

這里會自動生成一個.vscode目錄,我們在里面添加一個tasks.json文件內容如下
{ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "0.1.0", "command": "ripple", "isShellCommand": true, "showOutput": "always", "args": ["emulate","${file}"] }
