JSPM安装

下载安装:

http://nodejs.cn/

https://nodejs.org/en/

终端输入

安装:

sudo npm install jspm -g

jspm

MACdeMac-mini:~ mac$ cd ~/desktop

MACdeMac-mini:desktop mac$ mkdir zhang-frontend

MACdeMac-mini:desktop mac$ cd zhang-frontend

MACdeMac-mini:zhang-frontend mac$ npm init

暂停后一直回车

ls

sudo npm install jspm --save-dey 

ls

sudo jspm init

ls

ls jspm_packages


安装react

sudo jspm install [email protected]

sudo jspm install [email protected]

sudo jspm install semantic-ui

sudo jspm install css

http://www.browsersync.cn/

browser-sync start --server --directory --files "**/*"

sudo npm install browser-sync start --server --no-notify --files 'index.html, app/**/*.js'

你可能感兴趣的:(JSPM安装)