@meet-ui/full-screen
v1.0.3
Published
vue大屏展示缩放组件
Downloads
2
Readme
安装
// 安装
npm i @meet-ui/full-screen
// or
yarn add @meet-ui/full-screen
import FullScreen from '@meet-ui/full-screen';
export default {
components: {
FullScreen
}
}
使用方式
<full-screen>
<router-view />
</full-screen>
//方式一
import FullScreen from '@meet-ui/full-screen';
export default {
components: {
FullScreen
}
}
//方式二 main.js
import FullScreen from '@meet-ui/full-screen';
Vue.use(FullScreen)
参数
props: {
width: {//设计稿宽度
type: [String, Number],
default: '1920'
},
height: {// 设计稿高度
type: [String, Number],
default: '1080'
}
},