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.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

1、React / Vue.js 之类的框架为什么需要给组件添加 key 属性,其作用是什么?

2、如何判断当前代码是运行在浏览器还是 Node.js 环境中?

3、Sourcemap 是什么?有什么作用?生产环境中应该怎么用?

4、说一下 Webpack 的热更新原理吧

5、简要描述一下什么是消息队列,宏任务和微任务分别又是怎么回事