Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3e46d5c

Browse filesBrowse files
committed
调整语句顺序
1 parent 07a9993 commit 3e46d5c
Copy full SHA for 3e46d5c

File tree

1 file changed

+1
-6
lines changed
Filter options

1 file changed

+1
-6
lines changed

‎README_CN.md

Copy file name to clipboardExpand all lines: README_CN.md
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,29 +120,24 @@ npm run build:app
120120

121121
这里要单独说一下 Cordova 的打包方式,它比桌面端的稍微特殊一点。
122122

123-
首先把 src/main.js 文件中三行关于 Coredova 的注释打开,Coredova 库的初始化需要包在生成 Vue 实例 的外面。打开注释以后,再执行接下来的步骤。
123+
首先把 src/main.js 文件中关于 Coredova 的三行注释打开,Coredova 库的初始化需要包在生成 Vue 实例 的外面。打开注释以后,再执行接下来的步骤。
124124

125125
我在项目中放了一个 Makefile,可以根据这个来做。
126126

127127
1. 首先全局安装 cordova 命令
128-
129128
> npm install -g cordova
130129
131130
2. 再输入下面的命令,生成 app 项目目录
132-
133131
> cordova create app com.vueobjccn vueobjccn
134132
135133
3. 进入到 app 文件夹中
136-
137134
> cd app
138135
139136
4. 添加对应的平台
140-
141137
> cordova platform add ios
142138
> cordova platform add android
143139
144140
5. 运行项目
145-
146141
> cordova run ios
147142
> cordova run android
148143

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.