1.0.2 • Published 8 months ago
betterfit v1.0.2
better-fit
Description
全自动自适应工具,兼容ie11
Software Architecture
Software architecture description
Installation
npm install betterfit --save
yarn add betterfit
Instructions
import betterfit from 'betterfit'
betterfit.init()
The above are default parameters that can be adjusted according to actual situations. The parameters are// App.vue 需要在renderDom挂载到dom之后,才可以生效 export default { mounted() { betterfit.init(); } }
el (optional): Rendered dom, default to '# app', must use id selector
dw (optional): The width of the design draft, which defaults to 1920
dh (optional): The height of the design draft, which defaults to 929. If the project is displayed in full screen, it can be set to 1080
resize (optional): Whether to listen to resize events, default to true
Contribution
- Fork the repository
- Create Feat_xxx branch
- Commit your code
- Create Pull Request
Gitee Feature
- You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
- Gitee blog blog.gitee.com
- Explore open source project https://gitee.com/explore
- The most valuable open source project GVP
- The manual of Gitee https://gitee.com/help
- The most popular members https://gitee.com/gitee-stars/