JSPM安装

2016-12-11  本文已影响0人  宇宇星球

下载安装:

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 react@0.14.0-rc1

sudo jspm install react-dom@0.14.0-rc1

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'

上一篇下一篇

猜你喜欢

热点阅读