前端开发实践

注意事项

使用内置资源时,暂不支持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
  • 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 | react-dom 15.5.4:
    • https://as.alipayobjects.com/g/component/react/15.5.4/react.min.js
    • https://as.alipayobjects.com/g/component/react/15.5.4/react-dom.min.js
  • react | react-dom 16.2.0:
    • https://as.alipayobjects.com/g/component/react/16.2.0/react.production.min.js
    • https://as.alipayobjects.com/g/component/react/16.2.0/react-dom.production.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
  • alipayjsapi 3.0.5: https://a.alipayobjects.com/g/h5-lib/alipayjsapi/3.0.5/alipayjsapi.min.js

通用错误图片: