Commit Graph
19 Commits
Author SHA1 Message Date
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 841e03e1cc feat: plugin context - publicDir 2018-08-17 03:05:00 +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 92926605d0 fix: unexpected error 2018-08-16 20:07:33 +08:00
ULIVZ 1fa57f6b4c feat: enhance plugin API - distinguish async and sync execution 2018-08-16 16:34:49 +08:00
ULIVZ f2064a7cbf chore: remove console 2018-08-16 02:52:41 +08:00
ULIVZ c64edbf210 test: improve test for hydratePlugin 2018-08-16 02:52:00 +08:00
ULIVZ 6c364fe5bd refactor: enhance log output 2018-08-15 23:28:27 +08:00
ULIVZ f346884639 feat: respect name in local plugin config 2018-08-15 23:06:50 +08:00
ULIVZ 9a50862c26 feat: refine plugin API 2018-08-15 22:34:08 +08:00
ULIVZ 8b0adcb97e feat: refine 'resolvePlugin' and 'resolveScopePackage' and update test 2018-08-14 15:38:54 +08:00
ULIVZ 9424df3510 test: 'Tapable' 2018-08-14 02:43:11 +08:00
ULIVZ b9fdf64fb0 feat: @vuepress/plugin-back-to-top 2018-08-12 17:40:46 +08:00
ULIVZ 5f07c39596 feat($plugin): 'globalUIComponents' option 2018-08-12 17:15:45 +08:00
ULIVZ 0d7fce7c79 feat: pass plugins and theme via cli 2018-08-12 05:25:35 +08:00
ULIVZ ca78f66a63 feat: support shortcut usage of @vuepress/plugin-xxx 2018-08-10 16:40:29 +08:00
ULIVZ e2a784d716 refactor: Extract default-theme-only webpack aliases 2018-08-10 15:43:12 +08:00
ULIVZ 7892556201 feat: init monorepo 2018-08-10 12:01:29 +08:00