File tree 12 files changed +112
-3
lines changed
12 files changed +112
-3
lines changed Original file line number Diff line number Diff line change 3
3
"workspaces" : [
4
4
" packages/@vuepress/*" ,
5
5
" packages/vuepress" ,
6
- " packages/docs"
6
+ " packages/docs" ,
7
+ " packages/blog"
7
8
],
8
9
"description" : " Minimalistic doc generator with Vue component based layout system" ,
9
10
"scripts" : {
10
11
"boot" : " node scripts/bootstrap.js" ,
11
12
"dev" : " yarn workspace docs dev" ,
12
13
"build" : " yarn workspace docs build" ,
13
- "dev:blog-example " : " yarn workspace blog-example dev" ,
14
- "build:blog-example " : " yarn workspace blog-example build" ,
14
+ "dev:blog" : " yarn workspace blog dev" ,
15
+ "build:blog" : " yarn workspace blog build" ,
15
16
"lint" : " eslint --fix packages/**/*.js packages/**/*.vue packages/**/bin/*" ,
16
17
"release" : " yarn --pure-lockfile && node scripts/release.js" ,
17
18
"changelog" : " node scripts/genChangelog.js run" ,
Original file line number Diff line number Diff line change
1
+ __tests__
2
+ __mocks__
Original file line number Diff line number Diff line change
1
+ # @vuepress/theme-blog
2
+
3
+ > theme-blog for vuepress
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ plugins : [
3
+ '@vuepress/blog' ,
4
+ '@vuepress/pagination' ,
5
+ '@vuepress/medium-zoom' ,
6
+ [ '@vuepress/search' , {
7
+ searchMaxSuggestions : 10
8
+ } ]
9
+ ]
10
+ }
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <div class =" container" >
3
+ <header >
4
+ <Content slot =" header" />
5
+ </header >
6
+ <main >
7
+ <Content />
8
+ </main >
9
+ <footer >
10
+ <Content slot =" footer" />
11
+ </footer >
12
+ </div >
13
+ </template >
Original file line number Diff line number Diff line change
1
+ {
2
+ "private" : true ,
3
+ "name" : " @vuepress/theme-blog" ,
4
+ "version" : " 1.0.0-alpha.13" ,
5
+ "description" : " theme-blog for vuepress" ,
6
+ "main" : " index.js" ,
7
+ "publishConfig" : {
8
+ "access" : " public"
9
+ },
10
+ "repository" : {
11
+ "type" : " git" ,
12
+ "url" : " git+https://github.com/vuejs/vuepress.git"
13
+ },
14
+ "keywords" : [
15
+ " documentation" ,
16
+ " vue" ,
17
+ " vuepress" ,
18
+ " generator"
19
+ ],
20
+ "dependencies" : {
21
+ "@vuepress/plugin-blog" : " ^1.0.0-alpha.13" ,
22
+ "@vuepress/plugin-pagination" : " ^1.0.0-alpha.13" ,
23
+ "@vuepress/plugin-search" : " ^1.0.0-alpha.13" ,
24
+ "@vuepress/plugin-medium-zoom" : " ^1.0.0-alpha.13"
25
+ },
26
+ "author" :
" ULIVZ <[email protected] >" ,
27
+ "license" : " MIT" ,
28
+ "bugs" : {
29
+ "url" : " https://github.com/vuejs/vuepress/issues"
30
+ },
31
+ "homepage" : " https://github.com/vuejs/vuepress/packages/@vuepress/theme-blog#readme"
32
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "private" : true ,
3
+ "name" : " blog" ,
4
+ "description" : " blog of VuePress" ,
5
+ "version" : " 1.0.0-alpha.13" ,
6
+ "scripts" : {
7
+ "dev" : " vuepress dev source --temp .temp" ,
8
+ "build" : " vuepress build source --temp .temp"
9
+ },
10
+ "dependencies" : {
11
+ "vuepress" : " ^1.0.0-alpha.13" ,
12
+ "@vuepress/theme-blog" : " ^1.0.0-alpha.13"
13
+ }
14
+ }
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ title : 'VuePress\'s Blog' ,
3
+ theme : '@vuepress/blog'
4
+ }
Original file line number Diff line number Diff line change
1
+ < template >
2
+ < div class ="content "> < h1 id ="vuepress-blog "> < a class ="header-anchor " href ="#vuepress-blog " aria-hidden ="true "> #</ a >
3
+ VuePress' BLOG</ h1 >
4
+ < ul >
5
+ < li > Evan You</ li >
6
+ </ ul >
7
+ < template slot ="projects ">
8
+ < ul >
9
+ < li > Vue.js</ li >
10
+ < li > VueX</ li >
11
+ </ ul >
12
+ </ template >
Original file line number Diff line number Diff line change
1
+ ---
2
+ date : 2018-10-12
3
+ ---
4
+
5
+ # 1
Original file line number Diff line number Diff line change
1
+ ::: slot header
2
+ # Here might be a page title
3
+ :::
4
+
5
+ - A Paragraph
6
+ - Another Paragraph
7
+
8
+ ::: slot footer
9
+ Here's some contact info
10
+ :::
11
+
12
+ - A Paragraph
13
+ - Another Paragraph
You can’t perform that action at this time.
0 commit comments