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