Commit Graph
116 Commits
Author SHA1 Message Date
ShigmaandULIVZ d560e22413 fix($core): cannot use relative path in a permalink page (close: #1227)(#1298) 2019-02-17 20:38:36 +08:00
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
Liu XinyuandULIVZ 49c5983d28 fix($core): never throw error if layout component does not exist (#1247) 2019-01-30 01:43:45 +08:00
ULIVZandGitHub 81e3ef63e3 feat($core): leverage webpack-dev-server and sunset webpack-serve (#1195)
Breaking changes:

- Plugin option`enhanceDevServer` was removed.

New plugin option API:

- beforeDevServer
- afterDevServer
2019-01-28 00:15:33 +08:00
Liu XinyuandULIVZ febe3a716e feat($core): allow a theme package using a sub directory (close #1204) (#1206) 2019-01-20 23:17:35 +08:00
ULIVZ 87894ffc8b fix($core): plugin additionalPages frontmatter attribute is ignored when combined with content (close: #1157) 2019-01-09 01:34:33 +08:00
ULIVZ 2b2b6d5678 refactor($core): simplify code of additionalPages option 2018-12-09 23:05:18 +08:00
ULIVZandGitHub e599c05457 refactor($shared-utils): migrate to typescript (#1086) 2018-12-09 02:48:44 +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 d6ec9cf711 refactor: When Vue SFCs are source files, make them as layout components directly. 2018-12-03 06:28:15 +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 4f505a81ed fix($core): content property of additionalPages doesn't work (close: #1050) 2018-11-29 22:57:48 +08:00
ULIVZ 8a4b5e8043 chore($core): using hash-sum to generate page's hash 2018-11-29 22:43:47 +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 3a42c24423 feat($core): global computed '$frontmatter' 2018-11-08 00:58:18 +08:00
ULIVZ 85239bbed3 chore: rename 'seoTitle' to 'metaTitle' 2018-11-07 22:20:14 +08:00
ULIVZ 26411e9c4b chore: rename 'AsyncMarkdownContentLoaded' to 'AsyncMarkdownContentMounted' 2018-11-06 02:53:11 +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 432e6620a3 refactor: log error when theme cannot be resolved 2018-10-30 02:05:14 +08:00
ULIVZ c9b07007cd feat: frontmatter.seoTitle 2018-10-26 01:51:03 +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
ULIVZ 80cb1d5608 refactor: shortcutPackageResolver 2018-10-22 00:16:10 +08:00
ULIVZ 1dd1b55c51 fix: wrong import path (close: #937) 2018-10-17 14:21:13 +08:00
Michael SmithandULIVZ 3019339517 fix($core): correct swapped ssr.html and dev.html (#924) 2018-10-14 10:57:28 -05:00
Michael SmithandULIVZ c95c09fbf6 fix($core): fix extra anonymous plugin message (#926)
In the absence of a theme entry file, an extra anonymous plugin load
message would be printed as the themeEntryFile object lacked a name.
2018-10-14 10:53:50 -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 0a7e38ab5c fix($core): theme/styles/palette.styl doesn't work
BTW, remove Object usage of palette.
2018-10-08 00:45:13 +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 2467d74b16 Merge branch 'master' of https://github.com/vuejs/vuepress 2018-10-05 20:12:28 +08:00
ULIVZ 6b12b2d18c chore($core): Cannot add new plugins after initialization. 2018-10-05 20:11:52 +08:00
Alex JoverandULIVZ 94658ae55e fix: Check path in lowercase (close#897) (#898)
See #897
2018-10-05 05:26:17 -05: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