vue2+vuex+vue-router+axios+ElementUI+webpack+scss+es6+简单日历显示
Email:[email protected]
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
# 测试环境打包 配置文件/src/config/global_test.js
npm run test
# build for production with minification
# 生产环境打包 配置文件/src/config/global_prod.js
npm run build
#demo-0
#demo-1
#demo-2
#others
---
type:'grid'(默认)|'list'
grid 为图表类型 eg:demo-1
list 为列表类型 eg:demo-2
today 点击今天回调 (data:Object 今天日期)
next: 点击下个月回调 (data:Object 返回下月1号)
prev: 点击上个月回调 (data:Object 返回上月1号)
choosed: 选中日期时回调 (data:Object 返回当前日期)
yearchange: 年份下拉回调 (data:Number 返回年份)
monthchange:月份下拉选中回调 (data:Number 返回月份)
For detailed explanation on how things work, checkout the guide and docs for vue-loader.