下载及安装
下载二进制包,解压到自定义目录,比如third
|
|
配置
完成安装之后,会在HOME目录下生成.m2目录。
在.m2目录下有一个settings.xml文件。由于访问国外的源速度比较慢,所以在这里推荐阿里云的maven源。settings.xml文件的内容如下:
|
|
常用命令
|
|
缺失模块。
1、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
2、在根目录_config.yml里添加配置:
jsonContent:
meta: false
pages: false
posts:
title: true
date: true
path: true
text: true
raw: false
content: false
slug: false
updated: false
comments: false
link: false
permalink: false
excerpt: false
categories: false
tags: true