All Projects → jschyz → alipay-vue

jschyz / alipay-vue

Licence: other
蚂蚁金服小程序(alipay hybrid) 基于 vuejs 的 template

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
HTML
75241 projects

Projects that are alternatives of or similar to alipay-vue

Core Layout
Flexbox & CSS-style Layout in Swift.
Stars: ✭ 215 (+1553.85%)
Mutual labels:  flex
language-grammars
Syntax highlighting for ABNF/BNF/EBNF, Yacc, and other language-related languages.
Stars: ✭ 14 (+7.69%)
Mutual labels:  flex
icon-generator
Generate icons and launch screens for your Adobe AIR projects.
Stars: ✭ 24 (+84.62%)
Mutual labels:  flex
Virtual Controllers
Virtual controls for use in Flash based games on touch devices. Includes thumbstick and button ui elements
Stars: ✭ 16 (+23.08%)
Mutual labels:  flex
Flex-AntiCheat
Flex AntiCheat - Optimized Configs For Multiple AntiCheats
Stars: ✭ 37 (+184.62%)
Mutual labels:  flex
react-styled-flexbox
A Flexbox React component harnessing the power of styled-components
Stars: ✭ 30 (+130.77%)
Mutual labels:  flex
Winflexbison
Main winflexbision repository
Stars: ✭ 197 (+1415.38%)
Mutual labels:  flex
vue-flex-waterfall
🌊 A horizontal sorting waterfall layout component for Vue.js, realized by flex layout
Stars: ✭ 27 (+107.69%)
Mutual labels:  flex
sass-flexbox
Manage Flexbox in Sass easily.
Stars: ✭ 40 (+207.69%)
Mutual labels:  flex
bit-css
用原子类赋予元素属性,减少甚至不写css
Stars: ✭ 19 (+46.15%)
Mutual labels:  flex
flexboxes
CSS flexbox framework with pure flexbox grid ability
Stars: ✭ 27 (+107.69%)
Mutual labels:  flex
material2-admin
Angular - Material2 - Redux - Flex - Admin Example - Starter
Stars: ✭ 13 (+0%)
Mutual labels:  flex
flexui
A light UI for C++ with XML and CSS support
Stars: ✭ 21 (+61.54%)
Mutual labels:  flex
Bootstrap 4 Grid
Bootstrap 4 grid system and layout utilities.
Stars: ✭ 251 (+1830.77%)
Mutual labels:  flex
NatLang
NatLang is an English parser with an extensible grammar
Stars: ✭ 20 (+53.85%)
Mutual labels:  flex
Symfony Flex Backend
Symfony Flex REST API template project
Stars: ✭ 214 (+1546.15%)
Mutual labels:  flex
flex-bison-indentation
An example of how to correctly parse python-like indentation-scoped files using flex (and bison).
Stars: ✭ 32 (+146.15%)
Mutual labels:  flex
compiler
Implementing a complete Compiler for a simple C-like language using the C-tools Flex and Bison
Stars: ✭ 106 (+715.38%)
Mutual labels:  flex
vue-layout-system
A pack of Vue components that solve daily layout problems
Stars: ✭ 31 (+138.46%)
Mutual labels:  flex
simpPRU
Intuitive language for PRU which compiles down to PRU C
Stars: ✭ 54 (+315.38%)
Mutual labels:  flex

alipay vue

蚂蚁金服小程序(alipay hybrid) 基于 vuejs 的 template

运行部分截图

-1

使用方法

yarn install
建议使用 [yarn](https://yarnpkg.com/)
yarn run start # 开发模式
yarn run build # 构建文件

npm run start 会启动一个 http server, 打开网址 http://127.0.0.1:8989/ 进行开发调试,浏览器会自动刷新

Promise

  • 小程序介绍 需要对接阿里内部,登录授权后才能访问
  • npm start 用来开启server,必须为8989端口
  • npm run build 用来构建,构建后文件放在dist目录下
  • 依赖 Webpack2 Vue2
  • 可维护 易扩展 效率高

High Quality Resources

component communication

项目目录结构

src                           // 源文件目录,`npm run dev`阶段会监听此目录下的文件变动
│
├── assets                    // 存放 样式、字体文件和图片等 公共静态资源
│   ├── css/
│   ├── font/
│   ├── images/
│   └── ../                   // 根据实际项目可分配 media、svg等资源目录
│
├── components                // 存放 Component 文件的目录, 可以在组件内部管理自己的html结构、样式和逻辑和静态资源
│   ├── header                // 组件范例
│   │   ├── logo.png
│   │   └── header.vue
│   └── ../                   // 其他组件 search、nav、tab、list、footer
│
├── utils                     // 公共方法 可能会在多个地方调用到的公共方法,按照不同的功能归类成多个js文件,放在util中
│   ├── bridge.js
│   └── ../                   // 网络请求相关(ajax)、浏览器环境检测(detect)、数据统计(track)
│
├── static                    // 第三方公共资源
│   └── ../                   // 栅格系统(grid)、字体图标(icon-fonts)、动画样式(animate)
│
├── pages                     // 多页面,页面切换方式推荐 [pushWindow](https://myapp.alipay.com/cases/hybrid-skill.html#开发技巧)
│   ├── index/
│   │   ├── index.html
│   │   ├── main.js           // 打包工具会遍历mian.js作为入口文件
│   │   ├── logo.png
│   │   └── component.vue     // 总有一些组件是特殊对待的
│   └── ../                   // 首页(index),列表页(list),用户管理(user)
│
│
├── 下面目录根据实际情况酌情添加 ──
├── filters                   // 过滤器
├── directives                // 指令
├── services                  // api服务层
└── vuex                      // [Vuex应用结构](https://github.com/vuejs/vuex/blob/1.0/docs/zh-cn/structure.md)

编码规范

本脚手架使用 standard 编码风格。 默认 2 空格缩进,禁用分号,字符串单引号优先。

  • build 构建线上代码时会禁用 alert 和 debugger,dev 模式下不禁止
  • 如果希望对规则进行更改,可调整 .eslintrc.js。 以允许使用分号为例:
'semi': 2 // 2 为 error,1 为 warning, 0 为不检测, 重启 npm 生效
  • 希望跳过部分文件检测,可配置 .eslintignore, 语法和 .gitignore 一致

技能点

详见 SKILLS.md

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].