Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
2016-04-26 21:24:31 +0800
Commit
5424b62c37bfb4a42a76a736bad263095cfbf48b
1 parent
0680e1e9
framework statics loading protocal
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
README.md
README.md
View file @
5424b62
# 基于Express的有货前端开发框架
## 规约
### js模块命令规范
*
JS按大模块放置,比如:home或者guang
*
页面加载的JS使用
`*.page.js`
, 且page的JS只能放在模块下的一级目录
*
非页面加载的JS直接
`*.js`
### 页面加载静态资源规范
*
传模块名
`module`和页面名`page`
,即模块的目录名和当前页面的JS文件名的前缀,以加载对应页面的JS
\ No newline at end of file
...
...
Please
register
or
login
to post a comment