feat:
vuepress@1.x config change and style use
This commit is contained in:
@@ -1,9 +1,3 @@
|
|||||||
<!--
|
|
||||||
* @Author: mrjzhang
|
|
||||||
* @Date: 2020-02-12 11:53:09
|
|
||||||
* @LastEditors: mrjzhang
|
|
||||||
* @LastEditTime: 2020-02-12 12:16:04
|
|
||||||
-->
|
|
||||||
<template>
|
<template>
|
||||||
<router-link class="nav-link"
|
<router-link class="nav-link"
|
||||||
:to="link"
|
:to="link"
|
||||||
@@ -1,9 +1,3 @@
|
|||||||
<!--
|
|
||||||
* @Author: mrjzhang
|
|
||||||
* @Date: 2020-02-12 11:53:09
|
|
||||||
* @LastEditors: mrjzhang
|
|
||||||
* @LastEditTime: 2020-02-12 12:10:43
|
|
||||||
-->
|
|
||||||
<script>
|
<script>
|
||||||
import { isActive, hashRE, groupHeaders } from "../utils";
|
import { isActive, hashRE, groupHeaders } from "../utils";
|
||||||
|
|
||||||
@@ -1,13 +1,12 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
base: '/vuepress-theme-resume/example/dist/',
|
base: '/',
|
||||||
dest: 'example/dist',
|
dest: 'dist',
|
||||||
theme: 'resume',
|
|
||||||
themeConfig: {
|
themeConfig: {
|
||||||
sidebar: [
|
sidebar: [
|
||||||
{
|
{
|
||||||
collapsable: false,
|
collapsable: false,
|
||||||
children: [ '/' ]
|
children: ['/']
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -116,6 +116,3 @@ export default {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style src="prismjs/themes/prism-tomorrow.css"></style>
|
|
||||||
<style src="../styles/theme.styl" lang="stylus"></style>
|
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
"author": "momoko <ko.momo@qq.com>",
|
"author": "momoko <ko.momo@qq.com>",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"private": false,
|
"private": false,
|
||||||
"main": "Layout.vue",
|
"main": "layouts/Layout.vue",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/wannaxiao/vuepress-theme-resume"
|
"url": "https://github.com/wannaxiao/vuepress-theme-resume"
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
@require './code'
|
@require './code'
|
||||||
@require './custom-blocks'
|
@require './custom-blocks'
|
||||||
@require './arrow'
|
@require './arrow'
|
||||||
|
@require './palette'
|
||||||
|
|
||||||
html, body
|
html, body
|
||||||
padding 0
|
padding 0
|
||||||
Reference in New Issue
Block a user