VUX = Vue + Weui + Components
Demo
https://vux.li
Usage
npm install -g vue-cli
vue init webpack my-project
cd my-project
npm install
npm install vux
npm run dev
<template>
<div>
<group>
<cell title="vue" value="cool"></cell>
</group>
</div>
</template>
<script>
import { Style, Group, Cell } from 'vux'
export default {
components: {
Style,
Group,
Cell
}
}
</script>
Remove click delays
const FastClick = require('fastclick')
FastClick.attach(document.body)
Async loading Components
const Countup = function (resolve) {
require(['./demos/Countup'], resolve)
}
Work in Progress
This project is still in progress, so do not rely on this for anything important before production-ready version released. And pull requests are welcome.
Development Setup
npm install
npm run dev
npm run build
npm test
For detailed explanation on how things work, consult the docs for vue-loader.
Components
Liscence
MIT