├── data └── .gitkeep ├── utils ├── Bus.js └── importElement.js ├── .npmignore ├── styles ├── iconfont │ ├── iconfont.eot │ ├── iconfont.ttf │ ├── iconfont.woff │ ├── iconfont.woff2 │ └── iconfont.svg ├── vssue.styl ├── element-variables.scss ├── palette.styl ├── content.styl ├── iconfont.css ├── code.styl └── index.styl ├── .gitignore ├── enhanceApp.js ├── templates ├── dev.html └── ssr.html ├── package.json ├── router └── routes.js ├── LICENSE ├── components ├── About.vue ├── MyVssue.vue ├── TocBtn.vue ├── All.vue ├── Tags.vue ├── Home.vue └── Posts.vue ├── global-components ├── GoTop.vue ├── MyFooter.vue ├── MyMain.vue ├── ContentHeader.vue ├── MyAside.vue └── MyHeader.vue ├── layouts └── Layout.vue ├── index.js └── README.md /data/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/Bus.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | export default new Vue(); -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | .gitignore 2 | 3 | # Log files 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* -------------------------------------------------------------------------------- /styles/iconfont/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhhlwd/vuepress-theme-indigo-material/HEAD/styles/iconfont/iconfont.eot -------------------------------------------------------------------------------- /styles/iconfont/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhhlwd/vuepress-theme-indigo-material/HEAD/styles/iconfont/iconfont.ttf -------------------------------------------------------------------------------- /styles/iconfont/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhhlwd/vuepress-theme-indigo-material/HEAD/styles/iconfont/iconfont.woff -------------------------------------------------------------------------------- /styles/iconfont/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zhhlwd/vuepress-theme-indigo-material/HEAD/styles/iconfont/iconfont.woff2 -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | 4 | # Log files 5 | npm-debug.log* 6 | yarn-debug.log* 7 | yarn-error.log* 8 | 9 | # Editor directory and files 10 | .vscode 11 | .idea 12 | 13 | data/*.js -------------------------------------------------------------------------------- /styles/vssue.styl: -------------------------------------------------------------------------------- 1 | // 先设置变量 2 | $vssue-theme-color = #3f51b5 3 | 4 | $vssue-border-color = #3f51b5 5 | 6 | // 引入 Vssue 的样式主文件和 github-markdown-css 7 | @import '~vssue/src/styles/index' 8 | @import '~github-markdown-css/github-markdown.css' -------------------------------------------------------------------------------- /styles/element-variables.scss: -------------------------------------------------------------------------------- 1 | /* 改变主题色变量 */ 2 | $--color-primary: #3f51b5; 3 | 4 | /* 改变 icon 字体路径变量,必需 */ 5 | $--font-path: '~element-ui/lib/theme-chalk/fonts'; 6 | @import '~element-ui/lib/theme-chalk/display.css'; 7 | @import '~element-ui/packages/theme-chalk/src/index'; 8 | -------------------------------------------------------------------------------- /enhanceApp.js: -------------------------------------------------------------------------------- 1 | import routes from 'imRouter/routes'; 2 | import importElement from 'imUtils/importElement'; 3 | 4 | import 'imStyles/palette.styl'; 5 | import 'imStyles/index.styl'; 6 | import 'imStyles/element-variables.scss'; 7 | import 'imStyles/iconfont.css'; 8 | import 'imStyles/code.styl'; 9 | import 'imStyles/content.styl'; 10 | 11 | export default ({ Vue, router }) => { 12 | Vue.use(routes, { router }); 13 | Vue.use(importElement); 14 | }; 15 | -------------------------------------------------------------------------------- /templates/dev.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 9 |{{post.lastUpdated}}
28 |15 | 16 | 博客内容遵循 17 | 知识共享 署名 - 非商业性 - 相同方式共享 4.0 国际协议 21 | 22 |
23 |29 | 30 | 31 | {{($site.title || "") 32 | + ' © ' 33 | +content[content.length - 1].lastUpdated.slice(0, 7) 34 | +" ~ " 35 | +content[0].lastUpdated.slice(0, 7)}} 36 | 37 | 38 | 39 | Power by 40 | VuePress Theme 44 | indigo material 48 | 49 |
50 |{{item.lastUpdated}}
21 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |