1.0.2 • Published 8 months ago

betterfit v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

better-fit

Description

全自动自适应工具,兼容ie11

Software Architecture

Software architecture description

Installation

  1. npm install betterfit --save
  2. yarn add betterfit

Instructions

  1. import betterfit from 'betterfit'
  2. betterfit.init()
  3.  // App.vue 需要在renderDom挂载到dom之后,才可以生效
     export default {  
       mounted() {
         betterfit.init();
       }
    }
    The above are default parameters that can be adjusted according to actual situations. The parameters are
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

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/
1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago