Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hel-guide
app
Commits
0b19a502
Commit
0b19a502
authored
Aug 20, 2017
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates ionic/ionic-code-style.md
Auto commit by GitBook Editor
parent
f3e3ec26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
ionic-code-style.md
ionic/ionic-code-style.md
+2
-1
No files found.
ionic/ionic-code-style.md
View file @
0b19a502
...
@@ -4,10 +4,11 @@
...
@@ -4,10 +4,11 @@
### I. 文件命名规范
### I. 文件命名规范
*
同一功能下的js,html,scss放在同一文件夹下,每个页面基本上都含义3个文件。
*
html,js,scss文件命名统一用小写的英文字母且三个文件名必须相同,若文件名过长可以简写或者有
`-`
链接,不得包含汉字空格和特殊字符。
*
html,js,scss文件命名统一用小写的英文字母且三个文件名必须相同,若文件名过长可以简写或者有
`-`
链接,不得包含汉字空格和特殊字符。
*
原则:
*
原则:
*
1) 同一功能下的js,html,scss放在同一文件夹下,每个页面基本上都含义3个文件。
*
2)方便理解,见名知义
*
2)方便理解,见名知义
*
3)方便查找
*
3)方便查找
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment