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
dad051eb
Commit
dad051eb
authored
Aug 16, 2017
by
Anonymous
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates ionic/gulpfile.md
Auto commit by GitBook Editor
parent
51092adb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
20 deletions
+1
-20
gulpfile.md
ionic/gulpfile.md
+1
-20
No files found.
ionic/gulpfile.md
View file @
dad051eb
...
...
@@ -7,7 +7,7 @@
*
##
#
gulpfile.js_文件
*
##gulpfile.js_文件
-
`gulp命令`
-
`gulp-jshint 检查代码,打印报告信息`
-
`gulp-useref html页面中的js,css引用进行合并,压缩等操作`
...
...
@@ -25,22 +25,3 @@
# gulpfile.js文件介绍
---
*
### gulpfile.js_文件
-
`gulp命令`
-
`npm install gulp-jshint --save-dev jshint 安装失败问题: 解决方案: npm install --save-dev jshint gulp-jshint`
-
`npm install gulp-sass --save-dev 编译sass文件`
-
`npm install gulp-concat --save-dev 合并js`
-
`npm install gulp-uglify --save-dev 通过UglifyJS来压缩JS文件. `
-
`npm install gulp-rename --save-dev 重命名文件的插件,当要把一个文件存储为不同版本时可以使用。比如在需要一个style.css同时你有需要一个style.min.css`
-
`npm install gulp-autoprefixer --save-dev 使用Autoprefixer来补全浏览器兼容的css。`
-
`gulp-gzip 压缩zip`
-
`gulp-imagemin 压缩png/jpg/git/svg 格式图片文件`
-
`gulp-clean 清理档案`
\ No newline at end of file
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