ULIVZ
357e1a56c1
feat($core): detaMixin - expose $themeConfig
2018-09-09 05:05:54 +08:00
ULIVZ
96ddb59e5d
refactor($core): refine Page / AppContext
2018-09-09 05:05:10 +08:00
ULIVZ
011c3c3ba6
fix($core): exclude non-content pages from the page components
2018-09-09 05:03:39 +08:00
ULIVZ
adb3d564ef
chore: avoid Content component throw error
2018-09-09 05:01:47 +08:00
ULIVZ
f5e1e99415
refactor($core): simplify Page's interface
2018-09-09 04:00:11 +08:00
ULIVZ
0e34e2d93f
refactor($core): clientDynamicModules option - use default value
2018-09-09 01:50:34 +08:00
ULIVZ
b507faeaf8
feat: empty temp dir before launching app
2018-09-09 00:22:32 +08:00
ULIVZ
20d612c92f
refactor: simplify the implementation of makrdown slots
2018-09-09 00:09:45 +08:00
ULIVZ
99cd91140a
feat: markdown slots ( close : #594 )
...
Source:
```md
- Evan You
<template slot="projects">
- Vue.js
- VueX
</template>
```
Usage:
```
<Content/> // get default slot
<Content slot="projects"> // get named slot
```
2018-09-08 01:33:58 +08:00
ULIVZ
f8b8c51e9d
chore: clean expired code
2018-09-08 01:20:27 +08:00
ULIVZ
fe3c2d15cb
Revert "chore: change config load order ( #804 )"
...
This reverts commit 04723be4ef .
2018-09-06 23:27:00 +08:00
ULIVZ
f0a1f68533
Merge branch 'next' of https://github.com/vuejs/vuepress into next
2018-09-06 23:11:47 +08:00
ULIVZ
cf088f556e
refactor($core): simplify page components registration
2018-09-06 23:11:29 +08:00
Eko Eryanto and ULIVZ
04723be4ef
chore: change config load order ( #804 )
2018-09-06 09:19:06 +08:00
ULIVZ
0aa3d950ce
chore: tweaks
2018-09-05 01:15:26 +08:00
ULIVZ
44fb133e4e
Merge branch 'next' of https://github.com/vuejs/vuepress into next
2018-09-05 01:06:59 +08:00
ULIVZ
7f7fe18d40
feat: support clean and multiple custom layout. / theme default layouts dir
...
1. Refine ExtendPageDataOption, simplify the implmentation
2. Introduce LayoutDistributor as the unique route layout entry
3. Inject layout components to LayoutDistributor
4. Register layout components located at themedir/layouts
5. Reorganize the default theme's structure
2018-09-05 01:02:19 +08:00
YuChao Liang and ULIVZ
c19fb3aa5a
fix: escape backslash ( #787 )
2018-09-03 13:49:21 +08:00
ULIVZ
e08cc2e901
chore($core): hide internal plugin log
2018-09-02 23:15:59 +08:00
ULIVZ
f81f3732f6
feat: refine theme API
...
1. Support scope package and shortcut like plugin.
2. Support relative path for 'layout' and 'notFound' option.
2018-09-02 22:55:44 +08:00
ULIVZ
3daac59806
chore($core): clean legacy plugin utils and tests
2018-09-02 02:45:09 +08:00
YuChao Liang and ULIVZ
adb74b78a6
fix: valid filename for case-sensitive os ( #779 )
2018-08-30 23:57:56 +08:00
ULIVZ
b45633efca
refactor($core): move core resuable utilities to 'shared-utils and fix tests
2018-08-29 01:37:56 +08:00
ULIVZ
7f047080f7
feat($core): let 'core' provide a default NotFound component
2018-08-29 01:35:54 +08:00
ULIVZ
dc3b0f40d4
Merge branch 'master' into next
2018-08-28 20:50:45 +08:00
ULIVZ
eca8a61b04
test: init @vuepress/test-utils and migrate all tests
2018-08-27 19:35:18 +08:00
ULIVZ
d708d33123
feat: allow to lanuch multiple apps with isolated context at the same time.
...
1. Move writeTemp utility from @vuepress/shared-utils to @vuepress/core
2. Support for passing temp path from CLI
3. Create writeTemp dynamically
2018-08-27 17:13:01 +08:00
ULIVZ
11997f0294
chore: normalize prepare API.
2018-08-27 15:44:36 +08:00
ULIVZ and GitHub
2bdf88c9eb
feat: blog stage 1 - permalink ( #763 )
...
* feat: siteConfig.permalink & frontmatter.permalink
* chore: ensure leading and ending slash
* chore: update comment
2018-08-27 01:39:12 +08:00
ULIVZ
c7d8ee9638
feat($core): execute 'i18n' (i.e. dataMixin) on both server and client side
2018-08-24 01:35:03 +08:00
ULIVZ
06941fda33
Revert "refactor($core): extract dataMixin, try to reuse it at build time"
...
This reverts commit 45252a9fd4 .
2018-08-24 00:25:17 +08:00
ULIVZ
6a4592d7a0
chore: simplify encode url
2018-08-24 00:13:58 +08:00
ULIVZ
abc1d01d04
fix: regression - avoid deliver 'content' to client side
2018-08-24 00:10:06 +08:00
ULIVZ and GitHub
afa71b582b
refactor: refine core implementation ( #762 )
2018-08-24 00:02:33 +08:00
ULIVZ
45252a9fd4
refactor($core): extract dataMixin, try to reuse it at build time
2018-08-23 22:42:33 +08:00
ULIVZ
6d19b58347
chore: fix typo
2018-08-23 18:06:02 +08:00
ULIVZ
c9e0385db5
chore($core): simplify ExtendPageDataOption
2018-08-23 16:34:52 +08:00
ULIVZ
68518ffe5a
chore: naming: self => api
2018-08-23 16:24:24 +08:00
ULIVZ
ad574cef44
refactor($core): 'frontmatter' defaults to {} at build time
2018-08-23 16:21:23 +08:00
ULIVZ
639e5d4ab0
Revert "refacotr($core): separate createCSSRule from core to shared-utils"
...
This reverts commit 8f89eef61b .
2018-08-22 01:34:14 +08:00
ULIVZ
c1cf4b131b
Revert "feat: set up @vuepress/plugin-stylus"
...
This reverts commit 17cd87d2b7 .
2018-08-22 01:31:25 +08:00
ULIVZ
9358387937
Revert "feat: set up @vuepress/plugin-sass"
...
This reverts commit 5e46295030 .
2018-08-22 01:31:13 +08:00
ULIVZ
1d24fa8285
Revert "feat: set up @vuepress/plugin-less"
...
This reverts commit 4464185635 .
2018-08-22 01:30:42 +08:00
ULIVZ
1553cebe8d
chore($core): move internal dynamic modules to 'internal' dir.
2018-08-22 01:19:28 +08:00
ULIVZ
b30fa4fad3
refactor($core): rename 'Plugin' to 'PluginAPI'
2018-08-22 01:00:31 +08:00
ULIVZ
ac55f92d93
feat($core): write all enhanceApp files to separate file.
...
In the old implementation, the enhanceApp fi`le that doesn't have `default export` will be written to the same file "inject.js", but it will cause conflict if two files contains the same import definition.
2018-08-21 19:33:15 +08:00
ULIVZ
1747da1f2a
feat: support multiple option for plugin API.
...
Since the namesake plugin can only be executed once by default, if your plugin does need to be executed multiple times, you need to set 'multiple' to true explicitly.
2018-08-21 13:26:02 +08:00
ULIVZ
dd9bea3a9f
fix($core): do not pollute raw config
2018-08-21 13:21:41 +08:00
ULIVZ
8d1fa5cfb9
chore: update plugin generation comment
2018-08-21 01:51:56 +08:00
ULIVZ
721f503844
feat: make sure the namesake plugin is only executed once.
2018-08-21 01:45:59 +08:00