vuepress@1.x config change and style use
This commit is contained in:
yiliang114
2020-02-12 13:00:03 +08:00
parent 38a8845bfb
commit e27eb50565
24 changed files with 3798 additions and 2435 deletions

View File

@@ -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"

View File

@@ -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";

View File

@@ -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: ['/']
} }
] ]
} }
} }

View File

@@ -116,6 +116,3 @@ export default {
} }
}; };
</script> </script>
<style src="prismjs/themes/prism-tomorrow.css"></style>
<style src="../styles/theme.styl" lang="stylus"></style>

View File

@@ -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"

View File

@@ -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

6206
yarn.lock

File diff suppressed because it is too large Load Diff