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
e61000ea
Commit
e61000ea
authored
Aug 15, 2017
by
Anonymous
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates ionic/gulpfile.md
Auto commit by GitBook Editor
parent
d520eb91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
44 deletions
+8
-44
gulpfile.md
ionic/gulpfile.md
+8
-44
No files found.
ionic/gulpfile.md
View file @
e61000ea
...
@@ -6,47 +6,11 @@
...
@@ -6,47 +6,11 @@
*
### I. app_子目录(列表)
*
### 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-minify-css 压缩css,最终是调用clean-css 参考:http://www.ydcss.com/archives/41 gulp-gzip 压缩zip gulp-imagemin 压缩png/jpg/git/svg 格式图片文件 gulp-util gulp常用的工具库 在安装gulp时默认已经安装,可以直接使用 gulp-clean 清理档案
*
1.1.config_目录
作者: shuangsnow
链接:http://www.imooc.com/article/13843
来源:慕课网
本文原创发布于慕课网 ,转载请注明出处,谢谢合作!
*
1.2.img_目录
*
1.3.lib_目录
*
1.4.pages_目录
*
1.5.scripts_目录
*
1.4.scss_目录
*
1.5.theme_目录
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