-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
第三方库 选型对比 #9
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
(一) 模板引擎
推荐使用兼容 IE8+、体积更小、功能覆盖广、渲染性能更加优越的 aui/art-template
Handlebars.js
Handlebars provides the power necessary to let you build semantic templates effectively with no frustration. Handlebars is largely compatible with Mustache templates. In most cases it is possible to swap out Mustache with Handlebars and continue using your current templates.
兼容性:
体积:
handlebars-4.0.10.min.js: 78kb
art-template
art-template 是一个渲染性能出众模板引擎,无论在 NodeJS 还是在浏览器中都可以运行。
兼容性:
功能点:
体积:
art-template-4.9.1.min.js: 16kb
对比
在线速度测试
(二)滚动与轮播插件
推荐 PC Web 端使用 fullPage.js 实现全屏滚动效果,移动 Web 端使用 Swiper3 实现全屏滚动及其他触摸滑动效果
fullPage.js
A simple and easy to use libary to create fullscreen scrolling websites (also known as single page websites or onepage sites). It allows the creation of fullscreen scrolling websites, as well as adding some landscape sliders inside the sections of the site.
兼容性
依赖
功能点
Swiper3
Swiper - is the free and most modern mobile touch slider with hardware accelerated transitions and amazing native behavior. It is intended to be used in mobile websites, mobile web apps, and mobile native/hybrid apps. Designed mostly for iOS, but also works great on latest Android, Windows Phone 8 and modern Desktop browsers.
兼容性
依赖
功能点
The text was updated successfully, but these errors were encountered: