添加用户和仓库配置文件
This commit is contained in:
@@ -6,6 +6,10 @@ import messageboard from '../views/messageboard.vue'
|
||||
import about from '../views/aboutme.vue'
|
||||
import articlecontents from '../views/articlecontents.vue'
|
||||
const routes = [
|
||||
{
|
||||
path: '/',
|
||||
redirect: '/:type' // 默认跳转到首页
|
||||
},
|
||||
{
|
||||
path: '/:type',
|
||||
// 如果type为空则是所有不为空查询相对应属性的文章
|
||||
|
||||
Reference in New Issue
Block a user