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 5f8fb82

Browse filesBrowse files
committed
增加更详细的关于 Cordova 打包的描述
1 parent 3e07ea1 commit 5f8fb82
Copy full SHA for 5f8fb82

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ npm run build:app
110110
```
111111

112112
这里要单独说一下 Cordova 的打包方式,它比桌面端的稍微特殊一点。
113+
114+
首先把 src/main.js 文件中三行关于 Coredova 的注释打开,Coredova 库的初始化需要包在生成 Vue 实例 的外面。打开注释以后,再执行接下来的步骤。
115+
113116
我在项目中放了一个 Makefile,可以根据这个来做。
114117

115118
1. 首先全局安装 cordova 命令

0 commit comments

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