One Vue

仿韩寒「ONE · 一个」,基于vue2.0+混合式开发的一款跨终端、高性能、用户体验高的移动端App! 学习Vue的同学可以看下,感谢 Star 和 Fork!!
Alternatives To One Vue
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Awesome Learning Resources5,001
2 months ago5mit
🔥 Awesome list of resources on Web Development.
Faqguru4,854
8 months ago20mit
:school_satchel: :rocket: :tada: A list of interview questions. This repository is everything you need to prepare for your technical interview.
Front End Tutorial1,639
3 years agon,ullPHP
:panda_face: 最全的资源教程-前端涉及的所有知识体系,并在 Nice Front-end Tutorial 持续更新;
Front End Articles1,298
2 months ago26mitJavaScript
分享我的编程经验和学习心得,订阅请点 watch。
Springboot Project861
4 years ago8Java
这是一个用SpringBoot+JPA打造的基于微信服务号平台的点餐系统的后端,前端是一个使用Vue.js构建的运行于微信公众号的WebApp。前后端完全分离,前后端之间通过RESTful风格的接口相连。
Nice Front End Tutorial804
2 years ago4mit
🌍 Constantly updated front-end resources, tutorials, opinions(与时俱进版前端资源,教程和意见。)
React Article Bucket711
5 years ago2
总结,积累,分享,传播JavaScript各模块核心知识点文章全集,欢迎star,issue(勿fork,内容可能随时修改)。webpack核心内容部分请查看专栏: https://github.com/liangklfangl/webpack-core-usage
Sturdy483
9 months ago13May 03, 20224otherGo
🐥 Sturdy is an open-source, real-time, version control platform for startups (https://getsturdy.com)
Studynotes463
2 years ago2apache-2.0
📚JAVA、Spring、SpringMVC、SpringBoot、Mybatis、Vue、MySQL、MongoDB、Radis、Docker、Nginx、......笔记
Naming Convention Guides398
2 months ago21apache-2.0HTML
📖 Collection of naming guides for writing more consistent and readable codes
Alternatives To One Vue
Select To Compare


Alternative Project Comparisons
Readme

one-vue

仿韩寒「ONE · 一个」,基于vue2.0+混合式开发的一款跨终端、高性能、用户体验高的移动端App,使用服务端数据接口 one-api 进行开发。

技术架构

项目结构

.
├── assets
├── media
├── node_modules
├── src
│    ├── api              # 数据接口
│    ├── mixins           # Mixins
│    ├── models
│    ├── pages            # 页面
│    ├── store 
│    │     ├── modules    # 模块
│    │     ├── actions.js # 全局 actions
│    │     ├── getters.js # 全局 getters
│    │     ├── index.js   # 入口文件
│    │     └── mutation-types.js # 类型
│    │
│    ├── utils     # 工具文件夹
│    ├── app.css   # 组件样式
│    ├── app.js    # 入口文件
│    ├── api.vue   # 根组件
│    └── routes.js # 路由配置文件
│
├── build.js       # 编译后的文件
├── index.html
├── mainifest.json # app配置文件,需要配合 HBuilder 开发工具使用
├── package.json
├── webpack.config.js
└── yarn.lock     

项目截图

如何在本地运行?

  • 首先你需要安装 Node.js。选择不同版本下载安装即可。如果你安装到其他盘符可能会遇到一些环境变量的奇葩问题。 为了避免此类问题,还是按照默认路径安装吧。
  • 安装完 Node ,请按照下面的命令行安装 yarn 。这是因为项目模块依赖是用它来管理的,有关 npm vs yarn 请自行百度。
    # step1: 安装 yarn
    npm i yarn -g
    
    # step2: 安装成功后查看 yarn 版本
    yarn -V
    
  • 克隆或下载该项目。如果你本地安装了 Git,请使用如下命令行进行克隆,或者你可以下载源码然后解压到本地磁盘。有关 Git 教程,请看廖雪峰Git教程
    git clone [email protected]:gongph/one-vue.git
    
  • 安装模块。进入项目根目录打开终端执行如下命令行:
    yarn install
    
  • 执行如下命令行启动服务,并访问:localhost:8080
    npm run dev
    

注意: 建议谷歌浏览器调试,调试时请使用手机调试模式查看,快捷键(Ctrl+Shift+M)。

如何在真机上运行?

  • 首先你需要下载 HBuilder 开发工具,然后安装,邮箱注册一下。
  • 导入项目。
  • 将项目转成 App 项目。点击项目右键 - 成转换移动App
  • 手机连接电脑
  • 点击工具栏中的运行 - 手机运行 - 选择激活的手机设备,等待片刻即可。

LICENSE

MIT License

Copyright (c) 2017 gongph

Popular Vue Projects
Popular Git Projects
Popular Web User Interface Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Vue
Vue2
Git
Apple
Android App
Ios App