ULIVZ
eff7949356
feat($core): enhanceAppFile doesn't need export default manually.
2018-09-16 17:51:28 +08:00
ULIVZ
0e34e2d93f
refactor($core): clientDynamicModules option - use default value
2018-09-09 01:50:34 +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
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
c9e0385db5
chore($core): simplify ExtendPageDataOption
2018-08-23 16:34:52 +08:00
ULIVZ
1553cebe8d
chore($core): move internal dynamic modules to 'internal' dir.
2018-08-22 01:19:28 +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
8d1fa5cfb9
chore: update plugin generation comment
2018-08-21 01:51:56 +08:00
ULIVZ
ee32e852b1
feat($core): support 'dirname' field for 'clientDynamicModules'
...
That allow user to define the directory of generated dynamic module.
2018-08-21 00:46:19 +08:00
ULIVZ
2d65bf2085
feat($shared-utils): codegen util
2018-08-18 03:18:15 +08:00
ULIVZ
86c8dbf4a5
feat: move 'writeTemp' to shared utility and support config temp path
2018-08-17 17:43:25 +08:00
ULIVZ
4282d3bebc
refactor: using plugin API to rewrite code generation of 'routes'
...
1. 'registerComponent' in '@app/util'
2. Split 'routes.js', 'root-mixins', 'async-compoents' into different modules (decouple)
2018-08-17 05:47:23 +08:00
ULIVZ
ae6b3e924d
feat: init @vuepress/shared-utils
...
Move common utilities to @vuepress/shared-utils
2018-08-17 03:47:39 +08:00
ULIVZ
d3e2d09561
fix: yarn buiild failed.
...
1. This is caused by asynchronous page components cannot be resolved during server side rendering. revert to register async components at router's "beforeEnter" hook instead.
ref: https://ssr.vuejs.org/guide/structure.html#source-code-structure
2. Rename 'filepath' to 'filePath'.
2018-08-17 03:02:38 +08:00
ULIVZ
1fa57f6b4c
feat: enhance plugin API - distinguish async and sync execution
2018-08-16 16:34:49 +08:00
ULIVZ
6c364fe5bd
refactor: enhance log output
2018-08-15 23:28:27 +08:00
ULIVZ
9a50862c26
feat: refine plugin API
2018-08-15 22:34:08 +08:00
ULIVZ
5f07c39596
feat($plugin): 'globalUIComponents' option
2018-08-12 17:15:45 +08:00
ULIVZ
7892556201
feat: init monorepo
2018-08-10 12:01:29 +08:00