wmd看海 2020-03-06
终端执行命令
flutter pub global activate webdev pub global activate stagehand pub get webdev serve
注意一些环境变量
export PATH="$PATH":"$HOME/flutter/.pub-cache/bin" export DART_HOME=/Users/chenhao/flutter/bin/cache/dart-sdk/bin export PATH=${DART_HOME}:${PATH} export PATH="$PATH":"$HOME/.pub-cache/bin"
添加完环境变量后记得要source一下
source ~/.bash_profile