Skip to content

Instantly share code, notes, and snippets.

@sanmaozhao
Last active April 22, 2020 05:35
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanmaozhao/64beb862549f1d514058102aa4e41760 to your computer and use it in GitHub Desktop.
Save sanmaozhao/64beb862549f1d514058102aa4e41760 to your computer and use it in GitHub Desktop.

Vue部分

官方教程

https://cn.vuejs.org/v2/guide/

可以先用直接引入script的方式,不需要装vue-cli和webpack打包。

这样找一个http server放静态文件就能实验效果了。

注意多动手试试,比光看效果要好。

编辑器推荐 VSCodeVetur 插件。

代码风格指南

https://cn.vuejs.org/v2/style-guide/

后续我们会基于这个指南,指定自己的代码规范

UI组件库:Ant Design for Vue

组合场景演示

https://preview.pro.loacg.com/ (用户名密码看输入框的提示)

组件库

https://www.antdv.com/components/button-cn/

路由

简要介绍

https://cn.vuejs.org/v2/guide/routing.html

详细介绍

https://router.vuejs.org/zh/guide/

实际演练

用现有的移动端接口,做一个

登录页->待办列表->详情页

的最小功能验证。路由使用vue-router,http请求使用axios。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment