vuex 深入实践
vuex状态管理用法汇总
vue.config.js
<docs></docs>
vue.component()
模拟请求,实现vuex action promise异步更新state
vuex服务端渲染
smoothScroll
util/index.js
自定义函数均分目标位置和当前位置距离,按照滑动时间,毫秒级移动实现平滑效果。
npm install
npm run serve
npm run build
npm run test
npm run lint