起因
vscode之前工作正常,导入antd pro 2.0工程后立刻卡死,排查了半天,vscode的用户和工作区参数也设置了search.followSymlinks": false, 结果还是不起作用。
解决
最后在禁用了一个本地vscode插件css peek后问题解决,差点以为是vscode或者macos的锅。
环境
系统:MacOS High Sierra
项目:Ant design pro 2.0
总角之宴 言笑晏晏
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: false
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true