DSQ's blog

主页

归档

默认主题

轻主题

loading..

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Read more
loading..
htscdva

项目问题答疑笔记

1、dva 使用方式和官网不太一样,项目中基于dva框架进行了怎么了改造? https://dvajs.com/ 改变: 1、项目信息、构建脚本: roadhog - webpack构建脚本 入口 、 配置etc 2、路由 dva/router - + 3、动态加载 dva/dynamic - react-loadable/dynamic https://github.com/jamiebuilds/react-loadable 4、其他:dva/fetch、dva API、Model 大致一样 2、路由路径、model一起注册? 封装的逻辑? /** 组件动态加载 **/ 1、# dva/dynamic // app: dva 实例,加载 models 时需要 // models: 返回 ..

Read more
loading..
test申绍强

前端学习

代码检查npm run lint javascript规范主要参考airbnb规范 git commit hookgit commit时会运行lint进行代码静态检查,代码检查通过才可以正常commit 学习资源根据针对当前开发框架,所需了解知识的重要程度,分为1~5颗星,5表示最重要 es6 新一代JavaScript标准 ⭐️⭐️⭐️⭐️⭐️http://es6.ruanyifeng.com/ react ⭐️⭐️⭐️⭐️⭐️官网:https://facebook.github.io/react/docs/hello-world.html dva框架 ⭐️⭐️⭐️⭐️⭐️基于 redux、redux-saga 和 react-router@2.x 的轻量级前端框架. https://github.co..

Read more
loading..
test申绍强

Hello World 2

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Read more