Commit Graph
52 Commits
Author SHA1 Message Date
ULIVZ 94dab125ca fix($core): cannot read property 'globalLayout' of null (close: #1304) 2019-02-17 18:44:30 +08:00
ULIVZ c91f55a2b2 feat($core): support global layout (close: #1226) 2019-02-17 03:45:12 +08:00
ULIVZ 8f43be567f refactor: update code style 2019-02-04 02:02:44 +08:00
ULIVZ 2b2b6d5678 refactor($core): simplify code of additionalPages option 2018-12-09 23:05:18 +08:00
ULIVZandGitHub e963731da7 feat($core): registerCommand Plugin Option API (#1069) 2018-12-08 22:12:19 +08:00
Jan VennemannandULIVZ 30951060d2 fix: async function support for additionalPages plugin (close: #1077)(#1080) 2018-12-07 09:13:44 +08:00
ULIVZandGitHub 6c449bdf6c feat($core): Vue SFC as source files (#1061)
* feat($core): support Vue SFC as source files

* refactor: When Vue SFCs are source files, make them as layout components directly.

* chore: tweaks
2018-12-03 07:11:06 +08:00
ULIVZ 68add19467 fix($core): changing frontmatter always took a long time to refresh page
This commit also convert the AppContext into a singleton.
2018-12-03 07:07:04 +08:00
ULIVZ 43479a25c1 refactor: run 'clientDynamicModules', 'enhanceAppFiles' hooks in parallel 2018-12-03 04:35:34 +08:00
ULIVZ dfb0bbaa87 feat($core): support Vue SFC as source files 2018-12-03 02:56:44 +08:00
spiltcoffeeandULIVZ 5d9f87b203 feat($core): AppContext was still expecting --outDir instead of --dest (#1041) 2018-11-30 00:16:07 +08:00
ULIVZ df99cb6e4b feat($cli): '--silent' option 2018-11-25 23:36:30 +08:00
ULIVZ 9c613902c2 feat($core): more concise logger 2018-11-25 21:30:59 +08:00
ULIVZ 3871f4a1a3 feat: cache option (boolean | absolute path | relative path)
It also close #993 via including siteConfig.extendMarkdown & siteConfig.markdown.extendMarkdown to cacheIdentifier.
2018-11-13 23:45:26 +08:00
ULIVZ 84fd0ff495 feat: extend a theme 2018-10-30 03:39:46 +08:00
ULIVZ 497ce8019f fix($core): themePath/templates/ssr.html doesn't work 2018-10-30 02:39:20 +08:00
ULIVZ daa4d0953f fix: unexpected warning of last-updated plugin. 2018-10-24 01:35:10 +08:00
ULIVZ 69117563f1 refactor: tweaks 2018-10-22 00:20:48 +08:00
Michael SmithandULIVZ 3019339517 fix($core): correct swapped ssr.html and dev.html (#924) 2018-10-14 10:57:28 -05:00
ULIVZ 04588cc9b9 feat($core): register 'themePath/global-components' dir as global components
it also close #916
2018-10-09 23:54:08 +08:00
ULIVZ d89f766be1 fix($core): fix windows output path issue 2018-10-08 00:09:30 +08:00
ULIVZ f62cd73024 fix($core): try to fix windows output path issue 2018-10-07 22:47:06 +08:00
ULIVZ 734551500a feat($core): 'plugins' in plugin. 2018-10-06 00:52:07 +08:00
ULIVZ 3fbef0d614 feat($core): theme entry file as plugin. 2018-10-05 23:24:24 +08:00
ULIVZ 6b12b2d18c chore($core): Cannot add new plugins after initialization. 2018-10-05 20:11:52 +08:00
ULIVZ f6bb4145e6 feat($core): custom data block 2018-10-04 06:19:58 +08:00
ULIVZ 19e73d7ea0 refactor($core): use upath 2018-09-29 02:00:29 +08:00
ULIVZ e2253c2afb refactor($core): clarify palette.styl and style.styl 2018-09-29 01:47:13 +08:00
ULIVZ 4e8da959b2 feat($core): do not register global components at themePath/components (close: #877) 2018-09-28 13:29:32 +08:00
ULIVZ 6c6225d9cf feat($core): support themeIndexFile.devTemplate/ssrTemplate (close: #882)
Resolving Priority (devTemplate as example):

      1. siteConfig.devTemplate
      2. `dev.html` located at .vuepress/templates
      3. themeIndexFile.devTemplate
      4. default devTemplate
2018-09-28 13:14:34 +08:00
ULIVZ 47ac48562b fix($core): Cannot assign to read only property 'exports' of object (close: #869)
This is weird issue of webpack. since ClientComputedMixin was used both in server and client side,
client es module will import this commonJS module, it should work but webpack throw error: 'Uncaught
TypeError: Cannot assign to read only property 'exports' of object '#<Object>''. related issue:
https://github.com/webpack/webpack/issues/4039
2018-09-27 13:24:06 +08:00
ULIVZ 53c84b3972 refactor($core): separate markdown and markdown-loader from core 2018-09-27 01:14:51 +08:00
ULIVZ e380de3828 feat($core): plugin option - chainMarkdown 2018-09-26 01:48:44 +08:00
ULIVZ fb6e8d4e2d refactor: some enhancement:
1. Strip date from slug,
2. Rename I18n to ClientComputedMixin,
3. Clean internal I18nTemp plugin
2018-09-25 02:49:22 +08:00
ULIVZ 658ea75961 refactor: unify code style. 2018-09-24 02:02:43 +08:00
ULIVZ 4bc4331e55 feat($core): use markdown-it-chain 2018-09-22 23:40:16 +08:00
ULIVZ 8a7ee6c379 feat($core): site config as plugin 2018-09-20 00:33:12 +08:00
ULIVZ 2a4617814e feat($cli): support '--cache' and '--no-cache' flag 2018-09-17 00:19:41 +08:00
ULIVZ 38b3468119 feat($core): config the dev and ssr template. (close: #733) 2018-09-16 23:23:04 +08:00
ULIVZ 96ddb59e5d refactor($core): refine Page / AppContext 2018-09-09 05:05:10 +08:00
ULIVZ f5e1e99415 refactor($core): simplify Page's interface 2018-09-09 04:00:11 +08:00
ULIVZ b507faeaf8 feat: empty temp dir before launching app 2018-09-09 00:22:32 +08:00
ULIVZ cf088f556e refactor($core): simplify page components registration 2018-09-06 23:11:29 +08:00
ULIVZ 0aa3d950ce chore: tweaks 2018-09-05 01:15:26 +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
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 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 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
ULIVZandGitHub 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