Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 848 Bytes

README.md

File metadata and controls

39 lines (34 loc) · 848 Bytes

large-screen-for-vue

安装

npm install large-screen-for-vue -s
yarn add large-screen-for-vue

使用

main.js

import scaleContainer from 'large-screen-for-vue'
Vue.use(scaleContainer)

需要使用的组件

example1 App.vue

<scale-container>
// todo
</scale-container>

example2

<scale-container :width="1920" :height="1080">
// todo
</scale-container>

注意事项

组件使用不要使用小驼峰写法

<scaleContainer/> x

<scale-container />

npm

NPM