├── .babelrc
├── .gitignore
├── PreviewImg
├── admin01.png
├── admin02.png
├── admin3.png
├── admin4.png
├── blog01.png
└── blog02.png
├── Procfile
├── README.md
├── admin.html
├── admin
├── .babelrc
├── .gitignore
├── README.md
├── index.html
├── package.json
├── src
│ ├── App.vue
│ ├── assets
│ │ ├── add.png
│ │ ├── adminlabel.png
│ │ ├── article-title.png
│ │ ├── article.png
│ │ ├── atom-one-dark.css
│ │ ├── atom-one-light.css
│ │ ├── dark.css
│ │ ├── default.css
│ │ ├── head-portrait.jpg
│ │ ├── labels.png
│ │ ├── left.png
│ │ ├── logo.png
│ │ ├── right.png
│ │ ├── simplemde.css
│ │ ├── simplemde.min.css
│ │ ├── tag.png
│ │ └── use.png
│ ├── component
│ │ ├── AddArticLabel.vue
│ │ ├── ArticleEdit.vue
│ │ ├── ArticleLabel.vue
│ │ ├── ArticleList.vue
│ │ ├── ArticlePreview.vue
│ │ └── PersonalCenter.vue
│ └── main.js
├── webpack.config.js
└── yarn.lock
├── app.js
├── dist
├── add.png
├── admin.js
├── admin.js.map
├── adminlabel.png
├── article-title.png
├── article.png
├── b02bdc1b846fd65473922f5f62832108.ttf
├── build.js
├── build.js.gz
├── build.js.map
├── d2f69a92faa6fe990d2e613c358be705.woff
├── labels.png
├── logo.png
├── tag.png
└── use.png
├── index.html
├── login.html
├── package.json
├── server
├── db.js
├── router.js
└── user.js
├── src
├── App.vue
├── assets
│ ├── atom-one-light.css
│ ├── blueprint.png
│ ├── gitment
│ │ ├── constants.js
│ │ ├── constants.js.map
│ │ ├── default.css
│ │ ├── gitment.browser.js
│ │ ├── gitment.browser.js.map
│ │ ├── gitment.js
│ │ ├── gitment.js.map
│ │ ├── icons.js
│ │ ├── icons.js.map
│ │ ├── theme
│ │ │ ├── default.js
│ │ │ └── default.js.map
│ │ ├── utils.js
│ │ └── utils.js.map
│ └── logo.png
├── component
│ ├── About.vue
│ ├── archives.vue
│ ├── articlesDetails.vue
│ ├── comment.vue
│ ├── latestArticles.vue
│ └── tag.vue
├── main.js
├── style
│ ├── common.css
│ └── latestArticles.css
└── utils
│ └── utils.js
├── webpack.config.js
└── yarn.lock
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["es2015", { "modules": false }]
4 | ],
5 | "plugins": [["component", [
6 | {
7 | "libraryName": "element-ui",
8 | "styleLibraryName": "theme-default"
9 | }
10 | ]]]
11 | }
12 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | npm-debug.log
4 |
5 | *.xml
6 |
7 | *.iml
8 |
9 | .vscode/launch.json
10 |
11 | .vscode/settings.json
12 |
--------------------------------------------------------------------------------
/PreviewImg/admin01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linguowei/myblog/760284a1d70eaced651dee23f05eda2e4da149c8/PreviewImg/admin01.png
--------------------------------------------------------------------------------
/PreviewImg/admin02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linguowei/myblog/760284a1d70eaced651dee23f05eda2e4da149c8/PreviewImg/admin02.png
--------------------------------------------------------------------------------
/PreviewImg/admin3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linguowei/myblog/760284a1d70eaced651dee23f05eda2e4da149c8/PreviewImg/admin3.png
--------------------------------------------------------------------------------
/PreviewImg/admin4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linguowei/myblog/760284a1d70eaced651dee23f05eda2e4da149c8/PreviewImg/admin4.png
--------------------------------------------------------------------------------
/PreviewImg/blog01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linguowei/myblog/760284a1d70eaced651dee23f05eda2e4da149c8/PreviewImg/blog01.png
--------------------------------------------------------------------------------
/PreviewImg/blog02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/linguowei/myblog/760284a1d70eaced651dee23f05eda2e4da149c8/PreviewImg/blog02.png
--------------------------------------------------------------------------------
/Procfile:
--------------------------------------------------------------------------------
1 | web: node app.js
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # vue+node 实现的一套简易博客系统,包括博客前端展示页和博客后台管理页
2 |
3 | 2017-09-05更新,该博客已用`Angular4重构`,界面ui也重新设计了,目前线上跑的版本已经是`Angular4`重构后的了,`vue`版的已不再维护,新版[在线地址](https://lweiwei.com), 源码[地址](https://github.com/linguowei/blog-angular)
4 |
5 |
6 | 分割线———————————————————————————————————————————————————————————————————————————
7 |
8 |
9 | 2017-04-27更新如下,调整博客前端展示页面样式,支持响应式,添加了评论功能,UI参照[美团点评技术团队](http://tech.meituan.com/)的,莫怪
10 |
11 | > 简要技术栈:
12 | >
13 | > vue2.0+vue-router+vue-resource
14 | >
15 | > node+express+mongodb
16 | >
17 | > 后台管理页的编辑器用的simplemde,支持markdown语法
18 | >
19 | > markdown解析部分使用了marked这个库,语法高亮用highlight
20 |
21 | ### [博客在线地址](https://weiweiblog.herokuapp.com)(仅供临时预览)
22 |
23 | 
24 | ---
25 | 
26 | ---
27 |
28 | ### [博客后台管理页在线地址](https://weiweiblog.herokuapp.com/admin)(仅供临时预览)
29 |
30 | 
31 | ---
32 | 
33 | ---
34 | 
35 | ---
36 | 
37 | ---
38 | ### 本地查看方法
39 |
40 | ``` bash
41 | # git clone https://github.com/linguowei/myblog.git
42 | # cd myblog
43 | # npm install
44 | # node app.js
45 | # localhost:9000
46 | # localhost:9000/admin
47 | ```
48 | ### License
49 | [MIT](https://www.oschina.net/question/54100_9455)
50 |
--------------------------------------------------------------------------------
/admin.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
{{new Date(item.date).format('yyyy-MM-dd hh:mm:ss')}} 15 | {{item.label}} 16 |
17 |