# Category And Tag
# Delete files needed for category and tag
---
title: frontEnd
isCategories: true
sidebar: false
isComment: false
---
## FrontEnd
The category and tag routes and tagging of '1. X' is based on '@vuepress/plugin-blog', so these files are no longer needed.
# Configure category and tag through config.js
module.exports = {
theme: 'reco',
themeConfig: {
// blog config
blogConfig: {
category: {
location: 2, // Position in the navigation bar menu, default 2
text: 'Category' // Default "Category"
},
tag: {
location: 3, // Position in the navigation bar menu, default 2
text: 'Tag' // Default "Tag"
}
}
}
}
# Edit YAML front matter
0.x
---
title: [Vue]proxyTable for Cross-domain Solutions
date: 2017-12-28
categories: frontEnd
tags:
- vue
- webpack
---
1.x
---
title: [Vue]proxyTable for Cross-domain Solutions
date: 2017-12-28
categories:
- frontEnd
tags:
- vue
- webpack
---
The difference is simply that categories
is changed to an array.