开发环境部署:
- 安装node,执行npm install
- 安装spm,执行spm install
- gulp启动服务,浏览器访问localhost:5000
Tip: 使用gulp build可以启动spm build服务编译好的文件存入/dist/all.js(or all-debug.js);compass在服务启动时会自动执行编译并监听文件变化。
Name | Last Update |
Last Commit
fc2b4e6a
–
Merge branch 'feature/layout' into develop
History
|
---|---|---|
.. | ||
layouts | Loading commit data... | |
other | Loading commit data... | |
public | Loading commit data... | |
views | Loading commit data... | |
.gitignore | Loading commit data... | |
.spmignore | Loading commit data... | |
.travis.yml | Loading commit data... | |
HISTORY.md | Loading commit data... | |
README.md | Loading commit data... | |
app.js | Loading commit data... | |
config.rb | Loading commit data... | |
gulpfile.js | Loading commit data... | |
index.js | Loading commit data... | |
package.json | Loading commit data... | |
router.js | Loading commit data... |
开发环境部署:
Tip: 使用gulp build可以启动spm build服务编译好的文件存入/dist/all.js(or all-debug.js);compass在服务启动时会自动执行编译并监听文件变化。