当前位置:网站首页>Notes on uni app

Notes on uni app

2022-06-13 04:18:00 Twinkle, twinkle, twinkle, twinkle, twinkle, twinkle, twinkle,

1.uni_module It doesn't just serve components , It can serve components 、js library 、 page 、 Project, etc DCloud Types supported by the plug-in market

2. accord with uni_module The components of the specification are in the project uni_modules Under the table of contents , As a plug-in id Store for directory .( The project template is not placed in uni_modules Under the table of contents )

3. As long as the component is installed in the project components Directory or uni_modules Under the table of contents , And accord with components/ Component name / Component name .vue Directory structure . You don't have to quote 、 register , Use... Directly on the page .

4.uni-ui yes DCloud Provide a cross-border ui library , It is based on vue Component's 、flex Layout 、 nothing dom Span the full end of the ui frame .

5. So far, , In applets and blends app field ,uni ui It is the benchmark of performance .

6.

uni-app Support applet custom components , Of all applets ui Libraries can be used . But the custom components of the applet ui Libraries need to use setData Update data manually , When there's a lot of data 、 Or high frequency update data , It is easy to cause performance problems .

and uni ui Belong to vue Components ,uni-app The engine bottom layer automatically diff Update data . Of course, there are many plug-ins in the plug-in market vue Components all have this feature .

7.subNVues  yes vue The original child form of the page . For resolution App in vue The hierarchical coverage in the page and the flexible customization of the native interface .

原网站

版权声明
本文为[Twinkle, twinkle, twinkle, twinkle, twinkle, twinkle, twinkle, ]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202280523392504.html