三分钟跑起jsblocks
Posted 01coding.com
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了三分钟跑起jsblocks相关的知识,希望对你有一定的参考价值。
1下载代码
git clone https://github.com/astoilkov/jsblocks-seed.git
2安装依赖
[email protected] /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跑起来
[email protected] /F/home/qianduan/jsblocks-seed (master) $ npm start > [email protected] start f:\home\qianduan\jsblocks-seed > opener http://localhost:8000 && blocks static
(这样跑也行)
[email protected] /F/home/qianduan/jsblocks-seed (master) $ npm run node > [email protected] node f:\home\qianduan\jsblocks-seed > opener http://localhost:8000 && node app.js
以上是关于三分钟跑起jsblocks的主要内容,如果未能解决你的问题,请参考以下文章