1下载代码
git clone https://github.com/astoilkov/jsblocks-seed.git
2安装依赖
Peng@PENG-PC /F/home/qianduan/jsblocks-seed (master)
$ npm install
|
> [email protected] postinstall f:\home\qianduan\jsblocks-seed
> cd app && bower install bower blocks#* not-cached https://github.com/astoilkov/jsblocks.git#*
bower blocks#* resolve https://github.com/astoilkov/jsblocks.git#*
bower blocks#* download https://github.com/astoilkov/jsblocks/archive/0.3.4.tar.gz
bower blocks#* extract archive.tar.gz
bower blocks#* resolved https://github.com/astoilkov/jsblocks.git#0.3.4
bower blocks#* install blocks#0.3.4 blocks#0.3.4 bower_components\blocks
[email protected] node_modules\opener [email protected] node_modules\blocks
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], s
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], methods
@1.1.0, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]) [email protected] node_modules\blocks-cli
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], etag
@1.7.0, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], ra
[email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], ac
[email protected], [email protected]) [email protected] node_modules\bower
3跑起来
Peng@PENG-PC /F/home/qianduan/jsblocks-seed (master)
$ npm start > [email protected] start f:\home\qianduan\jsblocks-seed
> opener http://localhost:8000 && blocks static
(这样跑也行)
Peng@PENG-PC /F/home/qianduan/jsblocks-seed (master)
$ npm run node > [email protected] node f:\home\qianduan\jsblocks-seed
> opener http://localhost:8000 && node app.js
微信公众号: