h5 initialization

The projects you have done need to be reviewed and summarized every day

  • (How to achieve reusability???)
  • Skilled use of git, vue, webpack
  • Project reuse, reuse of common tool items

  1. Initialization of the vue project (initial content configuration, axios, routing, basic interactive prompts)
  2. The size adaptation of the mobile terminal (pxtorem) and the flexible setting of the responsive layout scheme
    (you also need to understand the principle of flexible how to solve it elegantly, the adaptation of each configuration, CSS automatically adds the browser suffix)
    mate's content tag is set to h5 Properties to prevent scaling
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0">
  1. 300ms delay for mobile clicks,
  2. Packaged configuration (development settings correspond to different interfaces)
  3. Routing settings (jump title settings, you can further understand the principle of routing)
  4. Lack of the use of svg images
  5. Unskilled use of scss

Guess you like

Origin blog.csdn.net/ZHXT__/article/details/108559483