基于Express的有货前端开发框架
规约
js模块命令规范
- JS按大模块放置,比如:home或者guang
- 页面加载的JS使用
*.page.js
, 且page的JS只能放在模块下的一级目录 - 非页面加载的JS直接
*.js
页面加载静态资源规范
- 传模块名
module
和页面名page
,即模块的目录名和当前页面的JS文件名的前缀,以加载对应页面的JS
Name | Last Update |
Last Commit
35d7fbc5
–
Merge branch 'feature/seo4' into 'release/6.3'
History
|
---|---|---|
apps | Loading commit data... | |
config | Loading commit data... | |
doc | Loading commit data... | |
doraemon | Loading commit data... | |
logs | Loading commit data... | |
public | Loading commit data... | |
utils | Loading commit data... | |
. browserslistrc | Loading commit data... | |
.babelrc | Loading commit data... | |
.editorconfig | Loading commit data... | |
.eslintignore | Loading commit data... | |
.eslintrc | Loading commit data... | |
.gitignore | Loading commit data... | |
.npmrc | Loading commit data... | |
.stylelintignore | Loading commit data... | |
.stylelintrc | Loading commit data... | |
README.md | Loading commit data... | |
app.js | Loading commit data... | |
dispatch.js | Loading commit data... | |
favicon.ico | Loading commit data... | |
oneapm.js | Loading commit data... | |
package.json | Loading commit data... | |
process.json | Loading commit data... |