我8点出门上班,你好幸福啊!
Eslint规则应用
对于eslint报错,简单是使用ctrl+s便可自动修复,不必没个错误逐个修改
在修改eslint规则文件后,执行 npm run lint
后可修复eslint错误提示,lint
命令使用了--fix
参数,命令有局限性,可能不会修复全部错误,具体可修复的查看ESLint 带小扳手的就是可修复项目
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.
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