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
7312bf34
Commit
7312bf34
authored
Aug 15, 2017
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates APP环境搭建/ionic-project.md
Auto commit by GitBook Editor
parent
0ffefcf2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ionic-project.md
APP环境搭建/ionic-project.md
+4
-0
No files found.
APP环境搭建/ionic-project.md
View file @
7312bf34
...
...
@@ -56,15 +56,18 @@
*
项目根目录下执行
`cnpm install`
,出现以下内容表示下载成功
!
[](
/picture/cnpm-install.png
)
此时文件夹中会新增
`node_modules`
文件夹 此文件夹下包含node.js的资源文件
*
项目根目录下执行
`bower install`
,出现以下内容表示下载成功
!
[](
/picture/bower-install.png
)
此时
`app`
文件夹中会新增
`lib`
文件夹,里面包函了本次项目使用的资源
*
项目根目录下执行
`gulp build-dev`
,构建开发环境(项目代码会进行合拼压缩进入
`www`
文件夹下)
**注:**
gulp命令的使用请查考
[
gulpfile.js
](
/ionic/gulpjs.md
)
!
[](
/picture/gulp-build-dev2.png
)
*
项目根目录下执行
`gulp build-dev`
,构建开发环境(项目代码会进行合拼压缩进入
`www`
文件夹下)
\ 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