[英]What is the easiest way to setup my mac to do polymer component development?
Is there aa simple way to setup a development environment to do polymer component development via the polymer-cli ? 有没有简单的方法来设置开发环境以通过polymer-cli进行聚合物组分的开发?
Step 1 - Install XCode 第1步-安装XCode
Step 2 - Install Homebrew 第2步-安装Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Step 3 - Install bower and node 步骤3-安装Bower和节点
brew install bower
Step 4 - Install the polymer command line 步骤4-安装Polymer命令行
npm install -g polymer-cli
Step 5 - Verify the polymer command line is installed 步骤5-确认已安装Polymer命令行
polymer help
Additional - This allows for homebrew to keep the tools up to date 其他-允许自制软件使工具保持最新状态
brew update
brew upgrade
npm update -g polymer-cli
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.