tencent
微信开发文档 | 微信JS-SDK说明文档 | 微信支付开发文档 | 微信测试号申请 | 微信测试接口 | 微信DEMO页面和示例代码 | 自定义菜单创建接口
demo源码下载:http://demo.open.weixin.qq.com/jssdk/sample.zip
小程序官方示例源码
npm install -g wept
cd miniprogram-demo
wept
http://localhost:300
如果安装在centOS上,要安装windows模拟软件wine
yum install wine
_vimrc配置:
Plugin 'chemzqm/wxapp.vim'
let g:user_emmet_settings = {
\ 'wxss': {
\ 'extends': 'css',
\ },
\ 'wxml': {
\ 'extends': 'html',
\ 'aliases': {
\ 'div': 'view',
\ 'span': 'text',
\ },
\ 'default_attributes': {
\ 'block': [{'wx:for-items': '{{list}}','wx:for-item': '{{item}}'}],
\ 'navigator': [{'url': '', 'redirect': 'false'}],
\ 'scroll-view': [{'bindscroll': ''}],
\ 'swiper': [{'autoplay': 'false', 'current': '0'}],
\ 'icon': [{'type': 'success', 'size': '23'}],
\ 'progress': [{'precent': '0'}],
\ 'button': [{'size': 'default'}],
\ 'checkbox-group': [{'bindchange': ''}],
\ 'checkbox': [{'value': '', 'checked': ''}],
\ 'picker': [{'bindchange': ''}],
\ 'radio-group': [{'bindchange': ''}],
\ 'radio': [{'checked': ''}],
\ 'switch': [{'checked': ''}],
\ 'slider': [{'value': ''}],
\ 'action-sheet': [{'bindchange': ''}],
\ 'modal': [{'title': ''}],
\ 'loading': [{'bindchange': ''}],
\ 'toast': [{'duration': '1500'}],
\ 'image': [{'src': '', 'mode': 'scaleToFill'}],
\ },
\ },
\}
"\ 'label': [{'for': ''}],
"\ 'input': [{'type': 'text'}],
"\ 'form': [{'bindsubmit': ''}],
autocmd FileType html,css,xml,php,vue,wxss,wxml EmmetInstall