前端开发实践

注意事项

使用内置资源时,暂不支持crossorogin属性。

常用资源内置

这些常用组件已经包含在容器中,使用<script src=""></script>不会产生网络流量。

如需要其他资源,可以自己打包内置在应用里。

  • AntUI 10.1.10 px版本: https://gw.alipayobjects.com/as/g/antui/antui/10.1.10/dpl/antui.css
  • zepto: https://a.alipayobjects.com/amui/zepto/1.1.3/zepto.js
  • fastclick: https://a.alipayobjects.com/static/fastclick/1.0.6/fastclick.min.js
  • antbridge.js 1.1.4版本:https://a.alipayobjects.com/g/component/antbridge/1.1.4/antbridge.min.js
  • Anima-yocto 1.1.10版本:https://a.alipayobjects.com/anima-yocto/1.1.10/index.js
  • swiper 3.2.7版本:https://as.alipayobjects.com/g/component/swiper/3.2.7/swiper.min.js, https://as.alipayobjects.com/g/component/swiper/3.2.7/swiper.min.css
  • react-15.5.4: https://as.alipayobjects.com/g/component/react/15.5.4/react.min.js,
  • react-dom-15.5.4: https://as.alipayobjects.com/g/component/react/15.5.4/react-dom.min.js,
  • vuejs 2.4.4: https://gw.alipayobjects.com/as/g/h5-lib/vue/2.4.4/vue.min.js
  • seedjs 3.1.0: https://a.alipayobjects.com/g/animajs/mtracker/3.1.0/seed.js
  • es6: https://as.alipayobjects.com/g/component/es6-promise/3.2.2/es6-promise.min.js, https://as.alipayobjects.com/g/component/fetch/1.0.0/fetch.min.js
  • luna核心js(luna-core+luna-error-page-kit): https://a.alipayobjects.com/g/luna/luna-offline/1.0.0/index.js
  • luna-fastclick: https://as.alipayobjects.com/g/luna-component/luna-fastclick/0.1.0/index.js
  • alipayjsapi: https://a.alipayobjects.com/g/h5-lib/alipayjsapi/3.0.5/alipayjsapi.min.js, https://a.alipayobjects.com/g/h5-lib/alipayjsapi/3.0.5/alipayjsapi.inc.min.j

通用错误图片: