{{ item.content }}
22 | 29 | 32 |├── static
├── favicon.ico
├── images
│ ├── gongan.png
│ ├── login.png
│ ├── favicon.ico
│ ├── close.svg
│ ├── menu-toggler.svg
│ └── search-icon.svg
├── logo
│ ├── long-logo.png
│ └── square-logo.png
└── css
│ ├── slider
│ ├── normalize.css
│ └── menu_sideslide.css
│ ├── type-tag
│ └── style.css
│ ├── custom.css
│ ├── list-item.css
│ └── main.css
├── plugins
├── vue-append.js
├── vue-markdown.js
├── js
│ ├── utils.js
│ ├── background.js
│ ├── slider
│ │ └── main.js
│ └── scripts.js
├── font-awesome.js
└── magnific-popup
│ ├── magnific-popup.css
│ └── jquery.magnific-popup.min.js
├── .editorconfig
├── components
├── BackTop.vue
├── PageTitle.vue
├── ArtSidebar.vue
├── AuthorWidget.vue
├── ArticleTag.vue
├── TabWidget.vue
├── ArticleType.vue
├── MySidebar.vue
├── AboutMe.vue
├── MarkDown.vue
├── Tag.vue
├── FooterLine.vue
├── AsideNewComments.vue
├── categories.vue
├── paging.vue
├── HomePage.vue
├── BlogGrid3.vue
├── HeaderBar.vue
├── TagCloud.vue
├── ListSidebar.vue
├── Comment.vue
├── FrendLinks.vue
└── Detail.vue
├── utils
├── auth.js
└── request.js
├── api
├── article-label.js
├── sys.js
├── link.js
├── user.js
├── comment.js
└── article.js
├── Dockerfile
├── pages
├── links.vue
├── article
│ ├── tag
│ │ ├── index.vue
│ │ └── _id.vue
│ ├── type
│ │ ├── index.vue
│ │ └── _id.vue
│ └── detail
│ │ └── _id.vue
├── about.vue
├── index.vue
└── login.vue
├── LICENSE
├── config
└── sitemap.js
├── .gitignore
├── package.json
├── layouts
└── index.vue
├── nuxt.config.js
├── README.md
└── .eslintrc.js
/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WindSnowLi/vue-ssr-blog/HEAD/static/favicon.ico
--------------------------------------------------------------------------------
/static/images/gongan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WindSnowLi/vue-ssr-blog/HEAD/static/images/gongan.png
--------------------------------------------------------------------------------
/static/images/login.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WindSnowLi/vue-ssr-blog/HEAD/static/images/login.png
--------------------------------------------------------------------------------
/plugins/vue-append.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import VueAppend from 'vue-append'
3 | Vue.use(VueAppend)
4 |
--------------------------------------------------------------------------------
/static/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WindSnowLi/vue-ssr-blog/HEAD/static/images/favicon.ico
--------------------------------------------------------------------------------
/static/logo/long-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WindSnowLi/vue-ssr-blog/HEAD/static/logo/long-logo.png
--------------------------------------------------------------------------------
/static/logo/square-logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WindSnowLi/vue-ssr-blog/HEAD/static/logo/square-logo.png
--------------------------------------------------------------------------------
/plugins/vue-markdown.js:
--------------------------------------------------------------------------------
1 | import Vue from 'vue'
2 | import mavonEditor from 'mavon-editor'
3 | Vue.use(mavonEditor)
4 |
--------------------------------------------------------------------------------
/plugins/js/utils.js:
--------------------------------------------------------------------------------
1 | /**
2 | * 设置动态壁纸
3 | */
4 | export function getPageUrl() {
5 | if (process.client) {
6 | return window.location.protocol + '//' + window.location.host + window.location.pathname
7 | } else {
8 | return '#'
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # editorconfig.org
2 | root = true
3 |
4 | [*]
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | charset = utf-8
9 | trim_trailing_whitespace = true
10 | insert_final_newline = true
11 |
12 | [*.md]
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/components/BackTop.vue:
--------------------------------------------------------------------------------
1 |
2 |
26 | {{ article.summary.substring(0,50) }} 27 |
28 |
7 | {{ item.content }}
22 | 29 | 32 |59 | {{ childItem.content }} 60 |
61 | 62 | 69 | 75 |
88 |
89 |
16 |
17 |
18 | {{ item.user.nickname }}
19 |
20 | {{ item.content }}
21 |
22 |