为什么需要使用以下两个语句安装ember-cli 的某些 npm 包(如ember-cli-simple-auth或ember-cli-simple-auth-token )
npm install --save-dev ember-cli-simple-auth-token
ember generate simple-auth-token
?
我实际上并不理解第二个显然只是添加了凉亭依赖项:
bash
me@imac1 ~/dev/wishhhh/ember $ ember generate simple-auth-token
version: 0.1.2
installing
Installing browser packages via Bower...
cached git://github.com/simplabs/ember-simple-auth-component.git#0.6.7
Installed browser packages via Bower.
为什么我需要它?