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 82d7c2b

Browse filesBrowse files
authored
Merge pull request halfrost#5 from EyreFree/master
Update document
2 parents 3493b37 + 9dbbd71 commit 82d7c2b
Copy full SHA for 82d7c2b

File tree

2 files changed

+28
-41
lines changed
Filter options

2 files changed

+28
-41
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+8-12Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
2-
31
<p align='center'>
42
<img src='./image/vue-objccn_banner_.png'>
53
</p>
64

75
<p align="center">
86
<img src="https://img.shields.io/badge/Language-%20JavaScript%20-f9e229.svg">
9-
<img src="https://img.shields.io/badge/Framework-Vue.js%20-0eb984.svg">
10-
<img src="https://img.shields.io/badge/license-GPL-blue.svg">
7+
<a href="https://github.com/vuejs/vue"><img src="https://img.shields.io/badge/Framework-Vue.js%20-0eb984.svg"></a>
8+
<a href="https://github.com/halfrost/vue-objccn/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPL-blue.svg"></a>
119
<img src="https://img.shields.io/badge/platform-%20iOS | Mac | Web%20-ff69b4.svg">
12-
<a href="https://github.com/halfrost/vue-objccn/pulls"><img src="https://img.shields.io/badge/PR-welcome%20!-brightgreen.svg?colorA=a0cd34"></a>
10+
<a href="https://github.com/halfrost/vue-objccn/pulls"><img src="https://img.shields.io/badge/PR-Welcome-brightgreen.svg"></a>
11+
<a href="http://weibo.com/halfrost"><img src="https://img.shields.io/badge/weibo-@halfrost-red.svg?style=flat"></a>
1312
<img src="https://img.shields.io/badge/made%20with-%3C3-red.svg">
1413
</p>
1514

@@ -20,9 +19,7 @@ Use Vue.js to develop a cross-platform full stack application of [Objc china](ht
2019
- [x] ✅ Mobile App, currently only supports the Cordova framework, support iOS、Android、Windows Phone、BlackBerry four platforms
2120
- [ ] ❌ Mobile phone native App, intended to use Weex framework, the same support for both iOS and Android platform
2221

23-
24-
25-
> Note: This project is purely just for fun, please support [喵神(@onevcat)](https://github.com/onevcat),support [Objc china](https://objccn.io/)
22+
> Note: This project is purely just for fun, please support [喵神(@onevcat)](https://github.com/onevcat), support [Objc china](https://objccn.io/).
2623
2724
> [中文介绍 chinese introduction](./README_CN.md)
2825
@@ -55,16 +52,15 @@ Well, into the topic, Let's introduce this project:
5552
📦 All technology stack of Vue:vue2 + vuex + vue-router + webpack
5653
📌 ES6
5754
📡 Network request:axios
58-
🎈 Response framework:bootstrapelement-ui
55+
🎈 Response framework:bootstrap, element-ui
5956
✏️ Backend:express
6057
📝 Code highlighted:highlight.js
6158
🗄 Database:lowdb
6259
📖 Markdown Parser:vue-markdown
6360
🔖 Form validation:vee-validate
6461
🏆 Cross-platform framework:Electron
6562

66-
67-
# 📱Supported platforms
63+
## 📱 Supported platforms
6864

6965
<p align='center'>
7066
<img src='./image/Supported_Platforms_.png'>
@@ -76,7 +72,7 @@ Due to Objc china website is directly response html data, so I want to simulate
7672

7773
I use Express framework to build a server, set up in the 8081 port, and write routing, the request will go to 8080, open the server will automatically open the background.
7874

79-
My current development environment is node v6.11.0 npm v3.10.10Vue.js v2.8.2.
75+
My current development environment is node v6.11.0 , npm v3.10.10, Vue.js v2.8.2.
8076

8177
``` bash
8278

‎README_CN.md

Copy file name to clipboardExpand all lines: README_CN.md
+20-29Lines changed: 20 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
2-
31
<p align='center'>
42
<img src='./image/vue-objccn_banner_.png'>
53
</p>
64

7-
85
<p align="center">
96
<img src="https://img.shields.io/badge/Language-%20JavaScript%20-f9e229.svg">
10-
<img src="https://img.shields.io/badge/Framework-Vue.js%20-0eb984.svg">
11-
<img src="https://img.shields.io/badge/license-GPL-blue.svg">
7+
<a href="https://github.com/vuejs/vue"><img src="https://img.shields.io/badge/Framework-Vue.js%20-0eb984.svg"></a>
8+
<a href="https://github.com/halfrost/vue-objccn/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-GPL-blue.svg"></a>
129
<img src="https://img.shields.io/badge/platform-%20iOS | Mac | Web%20-ff69b4.svg">
13-
<a href="https://github.com/halfrost/vue-objccn/pulls"><img src="https://img.shields.io/badge/PR-welcome%20!-brightgreen.svg?colorA=a0cd34"></a>
10+
<a href="https://github.com/halfrost/vue-objccn/pulls"><img src="https://img.shields.io/badge/PR-Welcome-brightgreen.svg"></a>
11+
<a href="http://weibo.com/halfrost"><img src="https://img.shields.io/badge/weibo-@halfrost-red.svg?style=flat"></a>
1412
<img src="https://img.shields.io/badge/made%20with-%3C3-red.svg">
1513
</p>
1614

@@ -21,19 +19,17 @@
2119
- [x] ✅ 手机 App,目前只支持了 Cordova 框架,支持 iOS、Android、Windows Phone、BlackBerry 四个平台
2220
- [ ] ❌ 手机原生 App,打算用 Weex 框架,同样一起支持 iOS 和 Android 两个平台
2321

24-
2522
> 注:此项目纯属个人瞎搞,请大家支持 [喵神(@onevcat)](https://github.com/onevcat),支持 [Objc中国](https://objccn.io/)
2623
24+
> [英文介绍 English Introduction](./README.md)
2725
28-
>[英文介绍 English Introduction](./README.md)
29-
30-
# 前言
26+
## 前言
3127

32-
## 一. 关于我
28+
### 一. 关于我
3329

3430
我是一名全职的 iOS 开发者,非前端开发者。由于接触了 Weex 开发,从而接触到了 Vue.js。
3531

36-
## 二. 为什么会写这个项目?
32+
### 二. 为什么会写这个项目?
3733

3834
1. 最开始有这个想法的时候是来自一个网友,他在我的博客上问我,网上有没有写的比较好的 Weex demo ?我说尤大写的那个 Hacker News 是最好的。后来网友就说,楼主能写一个么?我当时回答暂时不行。其实这事我一直记在心里。
3935

@@ -45,13 +41,13 @@
4541

4642
5. 因为爱 ... ...
4743

48-
## 三. 这次为何跨端开发没有 Weex?
44+
### 三. 这次为何跨端开发没有 Weex?
4945

5046
这次在我写完项目以后,发现 Vue 的代码直接转换成 Weex 的项目,是无法实现的,好多报错。而且不是一下子能都修复好。我相信是我使用姿势的问题,不是 Weex 的问题。对了,Weex 又发布新版本了,接下来有时间的话就把 Weex 版的也做一遍开源。
5147

5248
好了,进入正题,说项目:
5349

54-
# 技术栈和主要框架
50+
## 技术栈和主要框架
5551

5652
📦 Vue 全家桶:vue2 + vuex + vue-router + webpack
5753
📌 ES6
@@ -64,25 +60,20 @@
6460
🔖 表单验证:vee-validate
6561
🏆 跨平台框架:Electron
6662

67-
68-
69-
# 📱支持的平台
63+
## 📱 支持的平台
7064

7165
<p align='center'>
7266
<img src='./image/Supported_Platforms_CN_.png'>
7367
</p>
7468

75-
76-
# 🔨 项目构建
69+
## 🔨 项目构建
7770

7871
由于喵神的 Objc 网站是直接返回 html,所以想进行模拟网络请求返回数据,就只能自己搭建一个后台,写 API 返回数据了。
7972

8073
我利用 Express 把后台搭建在 8081 端口上,并写好路由,请求会转到 8080,开启服务器的时候也会自动开启后台。
8174

82-
8375
我当前的开发环境是 node v6.11.0 ,npm v3.10.10,Vue.js v2.8.2
8476

85-
8677
``` bash
8778

8879
# install dependencies 安装依赖
@@ -150,7 +141,7 @@ Cordova 只生成了一个壳的 app,里面具体的内容还是读取的网
150141

151142
额外说几句,在 app 发展到现在这么成熟的时代,如果构建一个大的 app,用 Cordova 框架去做,不用原生,不做任何优化,用户体验确实不如原生的快。我这次就专门打包体验了 Cordova app,没有做任何优化,打包出来就用,如果是挑剔的用户,放在当今各大 app 接近完美的体验度相比来说,确实会感到满足感略低。如果真的要前端开发 app ,给2个建议,如果是用 Cordova 框架,一定要尽量优化优化,不然性能不如原生。如果想有接近原生的体验,那么可以考虑用 React Native 或者 Weex。
152143

153-
# 🚀 跨平台开发
144+
## 🚀 跨平台开发
154145

155146
JavaScript 跨平台开发打包成桌面级应用,主要用 Electron 框架。这里需要在 devDependencies 里面安装好 "electron"、"electron-builder"、"electron-packager" 这三个。其他的路径配置在 webpack 里面配置好即可。
156147

@@ -269,7 +260,7 @@ iPad 的 Web
269260
<img src='./image/Screenshots/iPad/iPad 3.png'>
270261
</p>
271262

272-
# 🌈 功能展示
263+
## 🌈 功能展示
273264

274265
用 Vue.js 搭建一个 Web 页面很快。
275266

@@ -339,26 +330,26 @@ iPad 上的应用
339330
<img src='./image/Gifs/Web-iPad app.gif'>
340331
</p>
341332

342-
# 🤔 项目完成之后的感想
333+
## 🤔 项目完成之后的感想
343334

344335
先安利一下 element-ui 这个项目,用它来搭建项目,真的很快,页面很快就可以搭建完成,开发 Vue.js 的同学一定有听过这个库。节约出来的大把时间可以把更多的精力放在业务开发上面。
345336

346337
大家都在说现在是大前端时代,移动开发和前端融合是必然。但是两个平台的开发其实还是有很多的不同,我在经历过前端的开发和 iOS 开发以后,感想还是很多的,前端和 iOS 是有很多可以相互学习的地方,两者也各有优缺点。接下来我打算写写这些方面的系列文章。前端的工程化,组件化,路由,MVVM,分别和 iOS 这边各有哪些优缺点,相互可以学习些什么。(感觉给自己挖了一个大坑)
347338

348-
# 📜 Feature
339+
## 📜 Feature
349340

350341
有时间就支持 Weex ,把这个 Vue.js 的改成一个完整的 Weex 的应用,变成原生以后,性能一定不会差。这样跨平台开发就应该全了。
351342

352-
# ❗️ 勘误
343+
## ❗️ 勘误
353344

354345
如果在项目中发现了有什么不解或者发现了 bug,欢迎提交 PR 或者 issue,欢迎大神们多多指点小弟🙏🙏🙏
355346

356-
# ♥️ 感谢
347+
## ♥️ 感谢
357348

358349
如果喜欢这个项目,欢迎 Star!
359350

360-
# 🌏 LICENSE
351+
## 🌏 LICENSE
361352

362353
![](https://www.gnu.org/graphics/gplv3-127x51.png)
363354

364-
Vue-ObjcCN is available under the GPLv3 license. See the LICENSE file for more info.
355+
Vue-ObjcCN 基于 GPLv3 协议进行分发和使用,更多信息参见协议文件。

0 commit comments

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