datetimeui
v1.0.1
Published
>datetimeui 是查询当前日期与实时时间的组件
Downloads
3
Readme
说明
datetimeui 是查询当前日期与实时时间的组件
安装
yarn add datetimeui -S
使用
在src/main.js
import datetimeui from 'datetimeui';
Vue.use(datetimeui);
import 'datetimeui/datetimeui.css';
组件
<datetime />
或
<datetime :weekday="weekday/>
<script>
export default {
data(){
return{
weekday: [
"星期日",
"星期一",
"星期二",
"星期三",
"星期四",
"星期五",
"星期六",
],
}
}
}
</script>