sea.js,spm学习

安装spm 下载sea.js

运行spm 

npm install spm@2.x -g
npm install spm-build -g

下载sea.js

git clone https://github.com/seajs/examples.git

cd examples/static/hello

spm-build #编译到dist

make deploy #复制到正式环境

下一步:运用sea.js 构建工具,创建web页面

原文地址:https://www.cnblogs.com/jdhu/p/4375161.html